From: Boris Bobrov Date: Mon, 18 Aug 2014 14:47:21 +0000 (+0300) Subject: removed debug prints, added video icon X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fa858bd7176c1e81bf08defe6139eddcafb1822b;p=mediagoblin.git removed debug prints, added video icon --- diff --git a/mediagoblin/media_types/video/__init__.py b/mediagoblin/media_types/video/__init__.py index 0b460d29..1862ffe1 100644 --- a/mediagoblin/media_types/video/__init__.py +++ b/mediagoblin/media_types/video/__init__.py @@ -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'] diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 5bbc1f74..7852cae9 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -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 index 00000000..83687617 Binary files /dev/null and b/mediagoblin/static/images/type_icons/video.png differ diff --git a/mediagoblin/templates/mediagoblin/utils/object_gallery.html b/mediagoblin/templates/mediagoblin/utils/object_gallery.html index 396d2997..57cd7c25 100644 --- a/mediagoblin/templates/mediagoblin/utils/object_gallery.html +++ b/mediagoblin/templates/mediagoblin/utils/object_gallery.html @@ -37,7 +37,6 @@ {% if entry.title %} {{ entry.title }} - {{ entry.icon_url }} {% endif %} {% endfor %}