Show event date rather than publication date

This commit is contained in:
Alexandre Iooss 2021-10-12 23:26:54 +02:00
parent 5d9d89a9cb
commit 227d4fa246
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@
{% block content %}
<h1>{{ gallery.title }}</h1>
<p class="text-muted small">{% trans "Published" %} {{ gallery.date_added|date }}</p>
{% if gallery.extended.date_start %}<p class="text-muted small">{{ 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 %}</p>{% endif %}
{% if gallery.extended.tags.all %}
<p class="text-muted">
Tags : {% for tag in gallery.extended.tags.all %}