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