removed debug prints, added video icon

This commit is contained in:
Boris Bobrov 2014-08-18 17:47:21 +03:00
parent 654d7cf94f
commit fa858bd717
4 changed files with 3 additions and 4 deletions

View File

@ -28,7 +28,7 @@ class VideoMediaManager(MediaManagerBase):
human_readable = "Video" human_readable = "Video"
display_template = "mediagoblin/media_displays/video.html" display_template = "mediagoblin/media_displays/video.html"
default_thumb = "images/media_thumbs/video.jpg" 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 # Used by the media_entry.get_display_media method
media_fetch_order = [u'webm_video', u'original'] media_fetch_order = [u'webm_video', u'original']

View File

@ -610,8 +610,8 @@ a.thumb_entry_title {
.entry_type_icon { .entry_type_icon {
position: absolute; position: absolute;
top: 0; top: 2px;
right: 0; left: 2px;
} }
.thumb_entry_last { .thumb_entry_last {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -37,7 +37,6 @@
</a> </a>
{% if entry.title %} {% if entry.title %}
<a class="thumb_entry_title" href="{{ entry_url }}">{{ entry.title }}</a> <a class="thumb_entry_title" href="{{ entry_url }}">{{ entry.title }}</a>
{{ entry.icon_url }}
{% endif %} {% endif %}
</div> </div>
{% endfor %} {% endfor %}