Pārlūkot izejas kodu

removing 'reset' where no filters are available

joel
Simon Bowie pirms 1 gada
vecāks
revīzija
e836f8d686
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      web/app/templates/resources.html

+ 4
- 1
web/app/templates/resources.html Parādīt failu

@@ -87,7 +87,10 @@
{{ filter_dropdown_nokey('status', status_filter, 'Maintenance status') }}
{% endif %}
<a href="{{ url_for(request.endpoint) }}?view={{ view }}">Reset</a>
{% if not practices_filter and not year_filter and not typology_filter and not languages_filter and not licenses_filter and not status_filter %}
{% else %}
<a href="{{ url_for(request.endpoint) }}?view={{ view }}">Reset</a>
{% endif %}
</div>

Notiek ielāde…
Atcelt
Saglabāt