removed debug prints, added video icon
authorBoris Bobrov <breton@cynicmansion.ru>
Mon, 18 Aug 2014 14:47:21 +0000 (17:47 +0300)
committerBoris Bobrov <breton@cynicmansion.ru>
Fri, 5 Feb 2016 02:30:34 +0000 (05:30 +0300)
mediagoblin/media_types/video/__init__.py
mediagoblin/static/css/base.css
mediagoblin/static/images/type_icons/video.png [new file with mode: 0644]
mediagoblin/templates/mediagoblin/utils/object_gallery.html

index 0b460d2929638db5c295fb543d1d311022a770e3..1862ffe12b697d43444d57c4f0fd57e78fccf29c 100644 (file)
@@ -28,7 +28,7 @@ class VideoMediaManager(MediaManagerBase):
     human_readable = "Video"
     display_template = "mediagoblin/media_displays/video.html"
     default_thumb = "images/media_thumbs/video.jpg"
-    type_icon = "images/type_icons/video.jpg"
+    type_icon = "images/type_icons/video.png"
 
     # Used by the media_entry.get_display_media method
     media_fetch_order = [u'webm_video', u'original']
index 5bbc1f748a54910f251eb1522afa6f4ed767dcbd..7852cae99e7a535dc6d62f00572ff3f461807a4c 100644 (file)
@@ -610,8 +610,8 @@ a.thumb_entry_title {
 
 .entry_type_icon {
   position: absolute;
-  top: 0;
-  right: 0;
+  top: 2px;
+  left: 2px;
 }
 
 .thumb_entry_last {
diff --git a/mediagoblin/static/images/type_icons/video.png b/mediagoblin/static/images/type_icons/video.png
new file mode 100644 (file)
index 0000000..8368761
Binary files /dev/null and b/mediagoblin/static/images/type_icons/video.png differ
index 396d29975fd543210a9946ba201271fda935e542..57cd7c25e8c4ac459c2ec131a0388b26e0b03429 100644 (file)
@@ -37,7 +37,6 @@
             </a>
             {% if entry.title %}
             <a class="thumb_entry_title" href="{{ entry_url }}">{{ entry.title }}</a>
-            {{ entry.icon_url }}
             {% endif %}
           </div>
         {% endfor %}