Show check-in and check-out times
This commit is contained in:
parent
455528125c
commit
7e8d156126
|
@ -153,10 +153,16 @@
|
||||||
{% for day, elements in trip.elements_grouped_by_day() %}
|
{% for day, elements in trip.elements_grouped_by_day() %}
|
||||||
<h4>{{ display_date_no_year(day) }}</h4>
|
<h4>{{ display_date_no_year(day) }}</h4>
|
||||||
{% for e in elements %}
|
{% for e in elements %}
|
||||||
{% if e.element_type == "check-out" %}
|
{% if e.element_type == "check-in" %}
|
||||||
<div>{{ e.get_emoji() }} {{ e.title }} (check-out)</div>
|
<div>
|
||||||
{% elif e.element_type == "check-in" %}
|
{{ e.get_emoji() }} {{ e.title }}
|
||||||
<div>{{ e.get_emoji() }} {{ e.title }} (check-in)</div>
|
(check-in from {{ display_time(e.when) }})
|
||||||
|
</div>
|
||||||
|
{% elif e.element_type == "check-out" %}
|
||||||
|
<div>
|
||||||
|
{{ e.get_emoji() }} {{ e.title }}
|
||||||
|
(check-out by {{ display_time(e.when) }})
|
||||||
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div>
|
<div>
|
||||||
{{ e.get_emoji() }}
|
{{ e.get_emoji() }}
|
||||||
|
|
Loading…
Reference in a new issue