reformat template fragment

This commit is contained in:
Philip Sargent 2023-02-28 16:18:13 +00:00
parent 5c3927c25d
commit 5067ef2c8c

View File

@ -89,12 +89,12 @@ Report this to a nerd if you think this is incorrect.
{% endfor %}
{% for key, value in events.items %}
<details {% if forloop.first %} open{% endif %}>
<summary><b><a href="/expedition/{{key|date:"Y"}}">{{key|date:"Y"}}</a>{{key|date:"-m-d"}}</b> {{value.3}}</summary>
{% with trips=value.0 svxothers=value.1 wallets=value.2 %}
{% include 'onthisdate.html' %}
{% endwith %}
</details>
{% with trips=value.0 svxothers=value.1 wallets=value.2 blocks=value.3 %}
<details {% if forloop.first %} open{% endif %}>
<summary><b><a href="/expedition/{{key|date:"Y"}}">{{key|date:"Y"}}</a>{{key|date:"-m-d"}}</b> {{blocks}}</summary>
{% include 'onthisdate.html' %}
{% endwith %}
</details>
{% endfor %}
</span>
{% endblock %}