From 0d603e3afb8bc40ea2f8d960bcd4a3faa4ed2328 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 6 Jul 2020 13:47:10 +0200 Subject: [PATCH] Thumbnail fixes. --- src/youtube/admin.py | 2 +- src/youtube/templates/youtube/preview.html | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) 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 %}
-
-
+
-- 2.20.1