Projet

Général

Profil

0001-gallery-display-gallery-title-33200.patch

Christophe Siraut, 17 mai 2019 12:49

Télécharger (832 octets)

Voir les différences:

Subject: [PATCH] gallery: display gallery title (#33200)

 combo/apps/gallery/templates/combo/gallerycell.html | 3 +++
 1 file changed, 3 insertions(+)
combo/apps/gallery/templates/combo/gallerycell.html
1 1
{% load thumbnail %}
2 2

  
3 3
{% block cell-content %}
4
{% if cell.title %}
5
<h2>{{ cell.title }}</h2>
6
{% endif %}
4 7
<div class="gallery" id="gallery-{{cell.id}}">
5 8
{% for image in cell.image_set.all %}
6 9
  {% if forloop.first %}
7
-