From 6f2df206c8ca3ce666862be5a01710e364c39c1f Mon Sep 17 00:00:00 2001 From: vaishk Date: Thu, 21 Dec 2017 00:14:11 +0530 Subject: [PATCH] link gallery back to event --- content/templates/photologue/photo_detail.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/templates/photologue/photo_detail.html b/content/templates/photologue/photo_detail.html index 2fd9227..804de6f 100644 --- a/content/templates/photologue/photo_detail.html +++ b/content/templates/photologue/photo_detail.html @@ -7,7 +7,9 @@ {% for gallery in object.public_galleries %}
- + {% if gallery.content %} + + {% endif %}
From gallery {{ gallery.title }}
    {% for photo.pk in gallery.public %} @@ -23,6 +25,7 @@ {% endfor %} {% endfor %}
+ }
{% if object.public_galleries %}