Add "clear all" option for applied filters
This commit is contained in:
parent
9f59f99663
commit
90a820e0cf
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -34,3 +34,7 @@ a[type='button'] {
|
|||
.form-control {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.badge {
|
||||
font-size: $font-size-xs;
|
||||
}
|
||||
|
|
@ -5,5 +5,10 @@
|
|||
<i class="mdi mdi-close"></i> {{ filter.link_text }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
{% if applied_filters|length > 1 %}
|
||||
<a href="?" class="badge rounded-pill bg-danger text-decoration-none me-1">
|
||||
<i class="mdi mdi-tag-off"></i> Clear all
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue