diff options
Diffstat (limited to 'templates/svxfile.html')
-rw-r--r-- | templates/svxfile.html | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/templates/svxfile.html b/templates/svxfile.html index 7241f09..5d493f8 100644 --- a/templates/svxfile.html +++ b/templates/svxfile.html @@ -82,16 +82,20 @@ LOGMESSAGES </div> <span style="font-family: monospace; font-size: 130%; "> {% for sb in svxblocks %} +{% empty %} +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/{{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"}}. +<summary><b><a href="/expedition/{{key|date:"Y"}}">{{key|date:"Y"}}</a>{{key|date:"-m-d"}}</b> </summary> <br /> -[Work in progress, Feb. 2023...]<br /> - {% include 'onthisdate.html' %} +{% with trips=value.0 svxfiles=value.1 wallets=value.2 %} + {% include 'onthisdate.html' %} +{% endwith %} </details> -{% empty %} -Cannot find any survex blocks in this survex file. <br /> -Report this to a nerd if you think this is incorrect. {% endfor %} </span> {% endblock %} |