logbook trips, and some wallets working.

This commit is contained in:
2023-02-27 19:14:08 +00:00
parent 6387de038b
commit 154722f765
2 changed files with 17 additions and 10 deletions

View File

@@ -82,16 +82,20 @@ LOGMESSAGES
</div>
<span style="font-family: monospace; font-size: 130%; ">
{% for sb in svxblocks %}
<details {% if forloop.first %} open{% endif %}>
<summary><b><a href="/expedition/{{sb.date|date:"Y"}}">{{sb.date|date:"Y"}}</a>{{sb.date|date:"-m-d"}}</b> {{sb.title}} '{{sb.name}}'</summary>
List of Logbook entries, wallets and other survex files on {{sb.date|date:"Y-m-d"}}.
<br />
[Work in progress, Feb. 2023...]<br />
{% include 'onthisdate.html' %}
</details>
{% empty %}
Cannot find any survex blocks in this survex file. <br />
Cannot find any survex blocks in this survex file (not looking at *include files). <br />
Report this to a nerd if you think this is incorrect.
<hr />
{% 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> </summary>
<br />
{% with trips=value.0 svxfiles=value.1 wallets=value.2 %}
{% include 'onthisdate.html' %}
{% endwith %}
</details>
{% endfor %}
</span>
{% endblock %}