From: Radek Czajka Date: Mon, 6 Jul 2020 11:47:10 +0000 (+0200) Subject: Thumbnail fixes. X-Git-Url: https://git.mdrn.pl/audio.git/commitdiff_plain/0d603e3afb8bc40ea2f8d960bcd4a3faa4ed2328?ds=sidebyside;hp=1b434b4f4eb775a20054b0efeca3fea63a161879 Thumbnail fixes. --- diff --git a/src/youtube/admin.py b/src/youtube/admin.py index 3c36eee..32a84d0 100644 --- a/src/youtube/admin.py +++ b/src/youtube/admin.py @@ -17,6 +17,6 @@ admin.site.register(models.Font) class ThumbnailTemplateAdmin(admin.ModelAdmin): - list_display = ['order', 'genres', 'collections'] + list_display = ['order', 'collections', 'authors', 'epochs', 'genres', 'kinds'] admin.site.register(models.ThumbnailTemplate, ThumbnailTemplateAdmin) diff --git a/src/youtube/templates/youtube/preview.html b/src/youtube/templates/youtube/preview.html index 9dee0ee..48202c0 100644 --- a/src/youtube/templates/youtube/preview.html +++ b/src/youtube/templates/youtube/preview.html @@ -12,17 +12,16 @@
-
+
{% for t in templates %} -
+ {% endfor %}
-
-
+