From 2ac5c905dd0269645cbf40124a4ff606d626ea91 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 31 Dec 2023 20:57:13 +0000 Subject: [PATCH] Adjust layout of gaps page --- templates/gaps.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/gaps.html b/templates/gaps.html index ecf070b..1ee32fc 100644 --- a/templates/gaps.html +++ b/templates/gaps.html @@ -29,11 +29,11 @@ {% for gap in gaps %} - {% for event in gap.before %}{% if not loop.first %}, {% endif %}{{ event.title or event.name }}{% endfor %} - {{ gap.start.strftime("%A, %-d %b %Y") }} - {{ gap.end.strftime("%A, %-d %b %Y") }} - {{ (gap.end - gap.start).days }} days - {% for event in gap.after %}{% if not loop.first %}, {% endif %}{{ event.title or event.name }}{% endfor %} + {% for event in gap.before %}{% if not loop.first %}
{% endif %}{{ event.title or event.name }}{% endfor %} + {{ gap.start.strftime("%A, %-d %b %Y") }} + {{ gap.end.strftime("%A, %-d %b %Y") }} + {{ (gap.end - gap.start).days }} days + {% for event in gap.after %}{% if not loop.first %}
{% endif %}{{ event.title or event.name }}{% endfor %} {% endfor %}