diff options
Diffstat (limited to 'templates/poll_vote_list.html.j2')
| -rw-r--r-- | templates/poll_vote_list.html.j2 | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/templates/poll_vote_list.html.j2 b/templates/poll_vote_list.html.j2 index c18b3e0..845356b 100644 --- a/templates/poll_vote_list.html.j2 +++ b/templates/poll_vote_list.html.j2 @@ -4,26 +4,7 @@ <label for="choice_{{ choice.id }}"> <input type="checkbox" name="choice_{{ choice.id }}" id="choice_{{ choice.id }}"> <strong> - {{ choice.start_datetime.strftime("%a %d.%m") }} - <span> - {% if now.year != choice.start_datetime.year %}.{{choice.start_datetime.year}}{% endif %} - </span> - <span> - {{ 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> + {% include "poll_choice_datetime_range.html.j2" %} </strong> <span> <i>{{ choice.votes | length }} votes</i> |
