summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2019-05-09 16:06:15 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2019-05-09 16:15:29 (GMT)
commitdc5a1d4ec89dfe44599b1fe1d2aad20f254d8ad3 (patch)
treec98d1a027de0096e7ab21fe0e0a165a2225d61e3
parent0c4c0396130d209d45332bca3570f238d1b46354 (diff)
downloadcombo-wip/7344-Cellule-de-type-galerie-d-images-.zip
combo-wip/7344-Cellule-de-type-galerie-d-images-.tar.gz
combo-wip/7344-Cellule-de-type-galerie-d-images-.tar.bz2
gallery: add block container in templatewip/7344-Cellule-de-type-galerie-d-images-
-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 3859730..06acea1 100644
--- a/combo/apps/gallery/templates/combo/gallerycell.html
+++ b/combo/apps/gallery/templates/combo/gallerycell.html
@@ -1,4 +1,6 @@
{% load thumbnail %}
+
+{% block cell-content %}
<div class="gallery" id="gallery-{{cell.id}}">
{% for image in cell.image_set.all %}
{% if forloop.first %}
@@ -28,3 +30,4 @@ $(function() {
});
});
</script>
+{% endblock %}