mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Add date to the metadata section
This commit is contained in:
@@ -81,19 +81,18 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if event.settings.show_times or event.date_admission %}
|
|
||||||
<div class="info-row">
|
<div class="info-row">
|
||||||
<span class="fa fa-clock-o fa-fw"></span>
|
<span class="fa fa-clock-o fa-fw"></span>
|
||||||
<p>
|
<p>
|
||||||
|
{{ event.get_date_range_display }}
|
||||||
{% if event.settings.show_times %}
|
{% if event.settings.show_times %}
|
||||||
|
<br>
|
||||||
{% blocktrans trimmed with time=event.date_from|date:"TIME_FORMAT" %}
|
{% blocktrans trimmed with time=event.date_from|date:"TIME_FORMAT" %}
|
||||||
Begin: {{ time }}
|
Begin: {{ time }}
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if event.date_admission and event.settings.show_times %}
|
|
||||||
<br>
|
|
||||||
{% endif %}
|
|
||||||
{% if event.date_admission %}
|
{% if event.date_admission %}
|
||||||
|
<br>
|
||||||
{% if event.date_admission|date:"SHORT_DATE_FORMAT" == event.date_from|date:"SHORT_DATE_FORMAT" %}
|
{% if event.date_admission|date:"SHORT_DATE_FORMAT" == event.date_from|date:"SHORT_DATE_FORMAT" %}
|
||||||
{% blocktrans trimmed with time=event.date_admission|date:"TIME_FORMAT" %}
|
{% blocktrans trimmed with time=event.date_admission|date:"TIME_FORMAT" %}
|
||||||
Admission: {{ time }}
|
Admission: {{ time }}
|
||||||
@@ -110,13 +109,6 @@
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
|
||||||
<p class="text-right">
|
|
||||||
<a href="{% eventurl event "presale:event.ical.download" %}" class="btn-xs">
|
|
||||||
<i class="fa fa-calendar"></i> {% trans "Add to Calendar" %}
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user