Improve end time display
This commit is contained in:
parent
80916ae679
commit
f49b0ce732
|
@ -171,9 +171,14 @@
|
|||
</div>
|
||||
|
||||
<div class="col-md-2{{ cell_bg }}">
|
||||
{% if event.end_date and event.end_as_date != event.as_date %}
|
||||
{% if event.end_date %}
|
||||
{% if event.end_as_date == event.as_date and event.has_time %}
|
||||
end: {{event.end_date.strftime("%H:%M") }}
|
||||
(duration: {{event.end_date - event.date}})
|
||||
{% elif event.end_date != event.date %}
|
||||
{{event.end_date}}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="col-md-7 text-start">
|
||||
|
|
Loading…
Reference in a new issue