From 6d8b8753970a12030b44d50aeb9f27254686d16a Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 9 Mar 2011 17:18:55 +0100 Subject: [PATCH] add sound icon in collection_list for collections having sounds --- .../templates/telemeta_default/inc/collection_list.html | 6 ++++++ 1 file changed, 6 insertions(+) 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 %} -- 2.39.5