Removed header markup for "By Status" multiple choice filter

This commit is contained in:
CocoByte 2025-02-09 18:20:51 -07:00
parent 6fc5a76e92
commit f90fe6c462
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -1,17 +1,20 @@
{% load i18n %}
{% load static field_helpers url_helpers %}
<h3>{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}</h3>
<ul class="mulitple-choice">
{% for choice in choices %}
<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 %}
{% for choice in choices %}
{% endfor %}
{% for choice in choices %}
{% if not choice.reset %}
<li{% if choice.selected %} class="selected"{% endif %}">
{% if choice.selected and choice.exclude_query_string %}
@ -33,5 +36,6 @@
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
{% endfor %}
</ul>
</details>