From 084b35bba0e08fce8cd1774ca32dbfdd8f706c94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 4 Mar 2019 13:35:03 +0100 Subject: [PATCH] don't misbalance
when gallery is empty --- gallery/templates/combo/gallery.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gallery/templates/combo/gallery.html b/gallery/templates/combo/gallery.html index 627ab10..6be3c9f 100644 --- a/gallery/templates/combo/gallery.html +++ b/gallery/templates/combo/gallery.html @@ -7,7 +7,7 @@ {% if image.title %}{{ image.title }}{% endif %}
-
+
{# extra opened
#} {% endthumbnail %} {% endif %} {% thumbnail image.image "60x60" crop="50% 25%" as im %} @@ -16,9 +16,12 @@ {% if image.title %} title="{{image.title}}" {% endif %}/> {% endthumbnail %} {% endthumbnail %} + + {% if forloop.last %} +
{# close extra
#} + {% endif %} {% endfor %}
-