Projet

Général

Profil

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

Christophe Siraut, 17 mai 2019 12:19

Télécharger (870 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
2 2

  
3 3
{% block cell-content %}
4 4
<div class="gallery" id="gallery-{{cell.id}}">
5
{% if cell.title %}
6
<h2>{{ cell.title }}</h2>
7
{% endif %}
5 8
{% for image in cell.image_set.all %}
6 9
  {% if forloop.first %}
7 10
{% thumbnail image.image "640x480" crop="50% 25%" as im %}
8
-