gallery: display gallery title (#33200)

This commit is contained in:
Christophe Siraut 2019-05-17 12:18:50 +02:00 committed by Frédéric Péters
parent ea8b55e4bf
commit 9aaa49f523
1 changed files with 3 additions and 0 deletions

View File

@ -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 %}