2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

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 %} {% endfor %}
{% for key, value in events.items %} {% for key, value in events.items %}
<details {% if forloop.first %} open{% endif %}> {% with trips=value.0 svxothers=value.1 wallets=value.2 blocks=value.3 %}
<summary><b><a href="/expedition/{{key|date:"Y"}}">{{key|date:"Y"}}</a>{{key|date:"-m-d"}}</b> {{value.3}}</summary> <details {% if forloop.first %} open{% endif %}>
{% with trips=value.0 svxothers=value.1 wallets=value.2 %} <summary><b><a href="/expedition/{{key|date:"Y"}}">{{key|date:"Y"}}</a>{{key|date:"-m-d"}}</b> {{blocks}}</summary>
{% include 'onthisdate.html' %} {% include 'onthisdate.html' %}
{% endwith %} {% endwith %}
</details> </details>
{% endfor %} {% endfor %}
</span> </span>
{% endblock %} {% endblock %}