diff options
author | Andrew Browning <ayleph@thisshitistemp.com> | 2016-10-17 12:51:36 -0400 |
---|---|---|
committer | Andrew Browning <ayleph@thisshitistemp.com> | 2017-01-16 00:25:46 -0500 |
commit | be44e006264381998cd452c949d2bfdf84ccf70d (patch) | |
tree | c9cbacd29a396b2931fe5bbb19db7209788ebae8 | |
parent | 2baad0435eace7b225c3e50a5d0710a8db747c7a (diff) | |
download | mediagoblin-be44e006264381998cd452c949d2bfdf84ccf70d.tar.lz mediagoblin-be44e006264381998cd452c949d2bfdf84ccf70d.tar.xz mediagoblin-be44e006264381998cd452c949d2bfdf84ccf70d.zip |
Fix #5484 - Add video icon to collection thumbnail
-rw-r--r-- | mediagoblin/templates/mediagoblin/utils/collection_gallery.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/utils/collection_gallery.html b/mediagoblin/templates/mediagoblin/utils/collection_gallery.html index 86680cb6..498aeb77 100644 --- a/mediagoblin/templates/mediagoblin/utils/collection_gallery.html +++ b/mediagoblin/templates/mediagoblin/utils/collection_gallery.html @@ -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> |