Trip page to show how many days/weeks/months until trip

Closes #118
This commit is contained in:
Edward Betts 2024-01-22 13:12:33 +00:00
parent b7d655a21e
commit 7e51a32210
2 changed files with 39 additions and 0 deletions

View file

@ -65,6 +65,11 @@
<div>Start: {{ display_date_no_year(trip.start) }} (end date missing)</div>
{% endif %}
{% set delta = human_readable_delta(trip.start) %}
{% if delta %}
<div>{{ delta }} time</div>
{% endif %}
<div class="conferences">
{% for conf in trip.conferences %} {{ conference_row(conf, "going") }} {% endfor %}
</div>