aboutsummaryrefslogtreecommitdiffstats
path: root/templates/manage.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2024-03-25 11:46:56 +0200
committerJan Tuomi <jan@jantuomi.fi>2024-12-21 19:43:13 +0200
commit3964ea162bcad03de982cf76f5a30e64868508e7 (patch)
tree0d2fd56addb91e3538451b901ffa8ad85061ff44 /templates/manage.html.j2
parent3231fbd478788dcde6e4bf87521bda7c462c5bee (diff)
Show "Start/end date" instead of "time" when whole day event mode is on
Diffstat (limited to 'templates/manage.html.j2')
-rw-r--r--templates/manage.html.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/manage.html.j2 b/templates/manage.html.j2
index 1df54a1..270e837 100644
--- a/templates/manage.html.j2
+++ b/templates/manage.html.j2
@@ -29,8 +29,8 @@
<table class="manage-table">
<thead>
<tr>
- <th>Start time</th>
- <th>End time</th>
+ <th>{% if poll.is_whole_day %}Start date{% else %}Start time{% endif %}</th>
+ <th>{% if poll.is_whole_day %}End date{% else %}End time{% endif %}</th>
<th></th>
</tr>
</thead>