removed debug prints, added video icon
This commit is contained in:
parent
654d7cf94f
commit
fa858bd717
@ -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']
|
||||||
|
@ -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 {
|
||||||
|
BIN
mediagoblin/static/images/type_icons/video.png
Normal file
BIN
mediagoblin/static/images/type_icons/video.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
@ -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 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user