From 45eb382cc2e753a97a2ec80ad5ad81ab14d7367d Mon Sep 17 00:00:00 2001 From: afilsaime Date: Wed, 6 May 2015 10:33:15 +0200 Subject: [PATCH] change filter templates and add remove filters link --- telemeta/templates/search/filters.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/telemeta/templates/search/filters.html b/telemeta/templates/search/filters.html index e9f2f9fa..d47b5fc7 100644 --- a/telemeta/templates/search/filters.html +++ b/telemeta/templates/search/filters.html @@ -1,5 +1,5 @@
-
Filters
+ {% if facets.fields.item_status %} @@ -62,10 +62,10 @@ {% if facets.fields.media_type %} {% for media_type in facets.fields.media_type %} - {% ifequal media_type.0 'audio'%} + {% ifequal media_type.0 'Audio'%} {% endifequal %} - {% ifequal media_type.0 'video'%} + {% ifequal media_type.0 'Video'%} {% endifequal %} {% endfor %} @@ -75,13 +75,13 @@ {% if facets.fields.recording_context %} {% for recording_context in facets.fields.recording_context %} - {% ifequal recording_context.0 'studio'%} + {% ifequal recording_context.0 'Studio'%} {% endifequal %} - {% ifequal recording_context.0 'radio'%} + {% ifequal recording_context.0 'Radio'%} {% endifequal %} - {% ifequal recording_context.0 'terrain'%} + {% ifequal recording_context.0 'Terrain'%} {% endifequal %} {% endfor %} @@ -94,10 +94,10 @@ {% ifequal physical_format.0 'CDR'%} {% endifequal %} - {% ifequal physical_format.0 'disque'%} + {% ifequal physical_format.0 'Disque'%} {% endifequal %} - {% ifequal physical_format.0 'cylindre'%} + {% ifequal physical_format.0 'Cylindre'%} {% endifequal %} {% endfor %} -- 2.39.5
Media Type{{ media_type.0 }} {{ media_type.1 }}{{ media_type.0 }} {{ media_type.1 }}Recording Context{{ recording_context.0 }} {{ recording_context.1 }}{{ recording_context.0 }} {{ recording_context.1 }}{{ recording_context.0 }} {{ recording_context.1 }}{{ physical_format.0 }} {{ physical_format.1 }}{{ physical_format.0 }} {{ physical_format.1 }}{{ physical_format.0 }} {{ physical_format.1 }}