diff --git a/photologue_custom/templates/photologue/gallery_detail.html b/photologue_custom/templates/photologue/gallery_detail.html index 03415cb..61b3727 100644 --- a/photologue_custom/templates/photologue/gallery_detail.html +++ b/photologue_custom/templates/photologue/gallery_detail.html @@ -22,7 +22,7 @@ {% block content %}
{% trans "Published" %} {{ gallery.date_added|date }}
+{% if gallery.extended.date_start %}{{ gallery.extended.date_start }}{% if gallery.extended.date_end and gallery.extended.date_end != gallery.extended.date_start %} {% trans "to" %} {{ gallery.extended.date_end }}{% endif %}
{% endif %} {% if gallery.extended.tags.all %}Tags : {% for tag in gallery.extended.tags.all %} diff --git a/photologue_custom/templates/photologue/includes/gallery_sample.html b/photologue_custom/templates/photologue/includes/gallery_sample.html index 34d53a8..2b485d6 100644 --- a/photologue_custom/templates/photologue/includes/gallery_sample.html +++ b/photologue_custom/templates/photologue/includes/gallery_sample.html @@ -6,8 +6,8 @@ {% endfor %}
{% trans "Published" %} {{ gallery.date_added|date }}
+ {% if gallery.extended.date_start %}{{ gallery.extended.date_start }}{% if gallery.extended.date_end and gallery.extended.date_end != gallery.extended.date_start %} - {{ gallery.extended.date_end }}{% endif %}
{% endif %} {% if gallery.description %}{{ gallery.description|safe }}
{% endif %}