diff options
Diffstat (limited to 'templates/poll_vote_list.html.j2')
| -rw-r--r-- | templates/poll_vote_list.html.j2 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/templates/poll_vote_list.html.j2 b/templates/poll_vote_list.html.j2 index 2170d40..c18b3e0 100644 --- a/templates/poll_vote_list.html.j2 +++ b/templates/poll_vote_list.html.j2 @@ -9,7 +9,20 @@ {% if now.year != choice.start_datetime.year %}.{{choice.start_datetime.year}}{% endif %} </span> <span> - {{ choice.start_datetime.strftime("%H:%M") }} – {{ choice.end_datetime.strftime("%H:%M") }} + {{ choice.start_datetime.strftime("%H:%M") }} + </span> + <span>—</span> + {% if not choice.ends_on_same_day() %} + <span> + {{ choice.end_datetime.strftime("%a %d.%m") }} + </span> + <span> + {% if now.year != choice.end_datetime.year %}.{{choice.end_datetime.year}}{% endif %} + </span> + {% endif %} + <span> + {{ choice.end_datetime.strftime("%H:%M") }} + </span> </span> </strong> <span> |
