diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-02-28 16:18:13 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-02-28 16:18:13 +0000 |
commit | 5067ef2c8cb1f9a1c629dcb697b58f3d8347ffcf (patch) | |
tree | 6d2306dded5a23e5e25cf1add6be37e058266df1 /templates/svxfile.html | |
parent | 5c3927c25d51e907a176203431be3b23cdcfd8ae (diff) | |
download | troggle-5067ef2c8cb1f9a1c629dcb697b58f3d8347ffcf.tar.gz troggle-5067ef2c8cb1f9a1c629dcb697b58f3d8347ffcf.tar.bz2 troggle-5067ef2c8cb1f9a1c629dcb697b58f3d8347ffcf.zip |
reformat template fragment
Diffstat (limited to 'templates/svxfile.html')
-rw-r--r-- | templates/svxfile.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/svxfile.html b/templates/svxfile.html index e37c48f..22abaf6 100644 --- a/templates/svxfile.html +++ b/templates/svxfile.html @@ -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 %} |