mirror of
https://github.com/pretix/pretix.git
synced 2026-08-27 13:24:41 +00:00
Implement review suggestions
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% load i18n %}
|
||||
{% load icon %}
|
||||
{% load eventurl %}
|
||||
{% load date_fast %}
|
||||
|
||||
<div class="event-list full-width-list alternating-rows">
|
||||
{% for subev in subevent_list.subevent_list %}
|
||||
@@ -17,12 +18,12 @@
|
||||
<span data-time="{{ subev.date_from.isoformat }}" data-timezone="{{ event.timezone }}" data-time-short>
|
||||
{% icon "clock-o" %}
|
||||
<span class="sr-only">{% trans "Time of day" %}</span>
|
||||
<time datetime="{{ subev.date_from.isoformat }}">{{ subev.date_from|date:"TIME_FORMAT" }}</time>
|
||||
<time datetime="{{ subev.date_from|date_fast:"H:i" }}">{{ subev.date_from|date_fast:"TIME_FORMAT" }}</time>
|
||||
</span>
|
||||
{% if subev.event.settings.show_date_to and subev.date_to %}
|
||||
{% if subev.event.settings.show_date_to and subev.date_to and subev.date_to.date == subev.date_from.date %}
|
||||
<span data-time="{{ subev.date_to.isoformat }}" data-timezone="{{ event.timezone }}" data-time-short>
|
||||
<span aria-hidden="true">–</span><span class="sr-only">{% trans "until" context "timerange" %}</span>
|
||||
<time datetime="{{ subev.date_to.time.isoformat }}">{{ subev.date_to|date:"TIME_FORMAT" }}</time>
|
||||
<time datetime="{{ subev.date_to|date_fast:"H:i" }}">{{ subev.date_to|date_fast:"TIME_FORMAT" }}</time>
|
||||
</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user