This commit is contained in:
Edward Betts 2023-08-10 14:05:07 +01:00
parent a5195cba1a
commit 7599f655ad
6 changed files with 72 additions and 26 deletions

View file

@ -30,7 +30,7 @@ a:link {
<body>
<div class="m-3">
<p>{{ days_until_start }} days / {{ (days_until_start / 7) | int }} weeks / {{ "{:.1f}".format(days_until_start / 30.5) }} months until start of Dodainville week: Friday 5 May 2022</p>
<p>{{ days_until_start }} days / {{ (days_until_start / 7) | int }} weeks / {{ "{:.1f}".format(days_until_start / 30.5) }} months until start of Dodainville week: Friday 29 Sept 2023</p>
{#
<p><a href="{{ url_for(other + "_page") }}">{{ other }}</a></p>
@ -52,7 +52,11 @@ a:link {
{% for dep, arr, days in data %}
<h4>{{ dep.title() }} to {{ arr.title() }}</h4>
{{ route_table(dep, arr, days) }}
{% if days %}
{{ route_table(dep, arr, days) }}
{% else %}
<p>not available</p>
{% endif %}
{% endfor %}
<!--