-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an expandable section of voting domains
- Loading branch information
1 parent
7095517
commit 821a85b
Showing
5 changed files
with
135 additions
and
29 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
backend/hub/templates/hub/ngo/components/expandable_voting_domains.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<details> | ||
<summary | ||
class="collapsible-title" | ||
title="Deschide pentru a vedea domeniile de votare" | ||
> | ||
<h2 class="section-title uppercase "> | ||
{{ section_title }} ({{ counters.ngos_accepted }}) | ||
<span class="icon">❯</span> | ||
</h2> | ||
</summary> | ||
|
||
<div class="container filter-card-content"> | ||
|
||
<ul> | ||
{% for domain_details in page_obj %} | ||
|
||
<div> | ||
<a | ||
class="inline-subtle-link underlined" | ||
href="#{{ domain_details.domain_key }}"> | ||
{{ domain_details.domain.name|upper }} | ||
({{ domain_details.organizations|length }}) | ||
</a> | ||
</div> | ||
|
||
{% endfor %} | ||
</ul> | ||
|
||
</div> | ||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters