Fix #5484 - Add video icon to collection thumbnail
authorAndrew Browning <ayleph@thisshitistemp.com>
Mon, 17 Oct 2016 16:51:36 +0000 (12:51 -0400)
committerAndrew Browning <ayleph@thisshitistemp.com>
Mon, 16 Jan 2017 05:25:46 +0000 (00:25 -0500)
mediagoblin/templates/mediagoblin/utils/collection_gallery.html

index 86680cb6c639af2e6c1df8acee47b106f18b7d34..498aeb77fcc5e979ce3d7b4dcbb82546b95811da 100644 (file)
@@ -31,6 +31,9 @@
                      {%- if loop.first %} thumb_entry_first
                      {%- elif loop.last %} thumb_entry_last{% endif %}">
             <a href="{{ obj_url }}">
+              {% if obj.icon_url %}
+              <img class="entry_type_icon" src="{{ obj.icon_url }}" />
+              {% endif %}
               <img src="{{ obj.thumb_url }}" />
             </a>