From: yomguy Date: Wed, 9 Mar 2011 16:18:55 +0000 (+0100) Subject: add sound icon in collection_list for collections having sounds X-Git-Tag: 1.1~394 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6d8b8753970a12030b44d50aeb9f27254686d16a;p=telemeta.git add sound icon in collection_list for collections having sounds --- diff --git a/telemeta/templates/telemeta_default/inc/collection_list.html b/telemeta/templates/telemeta_default/inc/collection_list.html index 8ff255a6..0beb56b8 100644 --- a/telemeta/templates/telemeta_default/inc/collection_list.html +++ b/telemeta/templates/telemeta_default/inc/collection_list.html @@ -16,6 +16,7 @@ {% field_label "MediaCollection" "creator" %} {% trans "Recordist" %} {% trans "Year of recording" %} + {% trans "Sound" %} {% for collection in collections %} @@ -35,6 +36,11 @@ {% endif %} {% endif %} + + {% if collection.has_mediafile %} + (sound) + {% endif %} + {% endfor %}