mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
Removed header markup for "By Status" multiple choice filter
This commit is contained in:
parent
6fc5a76e92
commit
f90fe6c462
1 changed files with 37 additions and 33 deletions
|
@ -1,37 +1,41 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load static field_helpers url_helpers %}
|
{% load static field_helpers url_helpers %}
|
||||||
|
|
||||||
|
<details data-filter-title="{{ filter_title }}" open="">
|
||||||
|
<summary>
|
||||||
|
{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}
|
||||||
|
</summary>
|
||||||
|
<ul class="mulitple-choice">
|
||||||
|
{% for choice in choices %}
|
||||||
|
{% if choice.reset %}
|
||||||
|
<li{% if choice.selected %} class="selected"{% endif %}">
|
||||||
|
<a href="{{ choice.query_string|iriencode }}" title="{{ choice.display }}">{{ choice.display }}</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
<h3>{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}</h3>
|
{% for choice in choices %}
|
||||||
<ul class="mulitple-choice">
|
{% if not choice.reset %}
|
||||||
{% for choice in choices %}
|
<li{% if choice.selected %} class="selected"{% endif %}">
|
||||||
{% if choice.reset %}
|
{% if choice.selected and choice.exclude_query_string %}
|
||||||
<li{% if choice.selected %} class="selected"{% endif %}">
|
<a class="choice-filter choice-filter--checked" href="{{ choice.exclude_query_string|iriencode }}">{{ choice.display }}
|
||||||
<a href="{{ choice.query_string|iriencode }}" title="{{ choice.display }}">{{ choice.display }}</a>
|
<svg class="usa-icon position-absolute z-0 left-0" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
||||||
</li>
|
<use xlink:href="{%static 'img/sprite.svg'%}#check_box_outline_blank"></use>
|
||||||
{% endif %}
|
</svg>
|
||||||
{% endfor %}
|
<svg class="usa-icon position-absolute z-100 left-0" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
||||||
{% for choice in choices %}
|
<use xlink:href="{%static 'img/sprite.svg'%}#check"></use>
|
||||||
{% if not choice.reset %}
|
</svg>
|
||||||
<li{% if choice.selected %} class="selected"{% endif %}">
|
</a>
|
||||||
{% if choice.selected and choice.exclude_query_string %}
|
{% endif %}
|
||||||
<a class="choice-filter choice-filter--checked" href="{{ choice.exclude_query_string|iriencode }}">{{ choice.display }}
|
{% if not choice.selected and choice.include_query_string %}
|
||||||
<svg class="usa-icon position-absolute z-0 left-0" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
<a class="choice-filter" href="{{ choice.include_query_string|iriencode }}">{{ choice.display }}
|
||||||
<use xlink:href="{%static 'img/sprite.svg'%}#check_box_outline_blank"></use>
|
<svg class="usa-icon position-absolute z-0 left-0" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
||||||
</svg>
|
<use xlink:href="{%static 'img/sprite.svg'%}#check_box_outline_blank"></use>
|
||||||
<svg class="usa-icon position-absolute z-100 left-0" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
</svg>
|
||||||
<use xlink:href="{%static 'img/sprite.svg'%}#check"></use>
|
</a>
|
||||||
</svg>
|
{% endif %}
|
||||||
</a>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not choice.selected and choice.include_query_string %}
|
{% endfor %}
|
||||||
<a class="choice-filter" href="{{ choice.include_query_string|iriencode }}">{{ choice.display }}
|
</ul>
|
||||||
<svg class="usa-icon position-absolute z-0 left-0" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
</details>
|
||||||
<use xlink:href="{%static 'img/sprite.svg'%}#check_box_outline_blank"></use>
|
|
||||||
</svg>
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue