From 14bf7fca2e973ebd30ff3f95bd77f3d3fbc287db Mon Sep 17 00:00:00 2001 From: Joachim Date: Tue, 3 Aug 2021 18:03:34 +0200 Subject: [PATCH] Update book_cover.html --- bookwyrm/templates/snippets/book_cover.html | 124 ++------------------ 1 file changed, 11 insertions(+), 113 deletions(-) diff --git a/bookwyrm/templates/snippets/book_cover.html b/bookwyrm/templates/snippets/book_cover.html index 84303015..0d618072 100644 --- a/bookwyrm/templates/snippets/book_cover.html +++ b/bookwyrm/templates/snippets/book_cover.html @@ -18,129 +18,27 @@ {% if enable_thumbnail_generation %} - {% if size_mobile == 'xsmall' %} + {% if size_mobile %} - {% elif size_mobile == 'small' %} - - - {% elif size_mobile == 'medium' %} - - - {% elif size_mobile == 'large' %} - - - {% elif size_mobile == 'xlarge' %} - - - {% elif size_mobile == 'xxlarge' %} - - {% endif %} - {% if size == 'xsmall' %} - - - {% elif size == 'small' %} - - - {% elif size == 'medium' %} - - - {% elif size == 'large' %} - - - {% elif size == 'xlarge' %} - - - {% elif size == 'xxlarge' %} - - - {% endif %} + + {% endif %}