summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2019-05-17 10:18:50 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-05-18 11:08:53 (GMT)
commit9aaa49f523bcbd9a8ddf8f4d9c1ed83956b478ca (patch)
tree836df48030203f59489bfbb7c601210d89dc1c3d
parentea8b55e4bfcaf85967b98105526963ff3d9f3e25 (diff)
downloadcombo-9aaa49f523bcbd9a8ddf8f4d9c1ed83956b478ca.zip
combo-9aaa49f523bcbd9a8ddf8f4d9c1ed83956b478ca.tar.gz
combo-9aaa49f523bcbd9a8ddf8f4d9c1ed83956b478ca.tar.bz2
gallery: display gallery title (#33200)
-rw-r--r--combo/apps/gallery/templates/combo/gallerycell.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/combo/apps/gallery/templates/combo/gallerycell.html b/combo/apps/gallery/templates/combo/gallerycell.html
index abd676e..24be078 100644
--- a/combo/apps/gallery/templates/combo/gallerycell.html
+++ b/combo/apps/gallery/templates/combo/gallerycell.html
@@ -1,6 +1,9 @@
{% load thumbnail %}
{% block cell-content %}
+{% if cell.title %}
+<h2>{{ cell.title }}</h2>
+{% endif %}
<div class="gallery" id="gallery-{{cell.id}}">
{% for image in cell.image_set.all %}
{% if forloop.first %}