summaryrefslogtreecommitdiffstats
path: root/templates/onthisdate.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/onthisdate.html')
-rw-r--r--templates/onthisdate.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/onthisdate.html b/templates/onthisdate.html
new file mode 100644
index 0000000..dd75144
--- /dev/null
+++ b/templates/onthisdate.html
@@ -0,0 +1,42 @@
+<!-- this is an INCLUDED template onthisdate.html-->
+
+ {% if svxothers %}<u>Survex files</u> on this date:<br>
+ <span style="font-size: 70%; ">
+ {% for item in svxothers %}
+ {% if item.isSurvexBlock %}&nbsp;&nbsp;&nbsp;&nbsp;<a href="/survexfile/{{item.survexfile.path}}">{{item.survexfile.path|safe}}</a><br/>{% endif %}
+ {% empty %}
+ <em>None found for this date.</em><br>
+ {% endfor %}
+ </span>
+ {% else %}
+ <em>No survex files found for this date.</em><br>
+ {% endif %}
+ {% if wallets %}<u>Wallets</u> on this date:<br>
+ <span style="font-size: 70%; ">
+ {% for item in wallets %}
+ &nbsp;&nbsp;&nbsp;&nbsp;<a href="/survey_scans/{{item.walletname|urlencode}}/">{{item.walletname|safe}}</a>
+ {% if item.name %}
+ {{item.name|safe}} <br/>
+ {% else %}
+ {{item.get_fnames|safe}}
+ <br/>
+ {% endif %}
+ {% empty %}
+ <em>None found for this date.</em><br>
+ {% endfor %}
+ </span>
+ {% else %}
+ <em>No wallets files found for this date.</em><br>
+ {% endif %}
+ {% if trips %}<u>All logbook trips</u> on this date:<br>
+ <span style="font-size: 70%; ">
+ {% for item in trips %}
+ {% if item.isLogbookEntry %}&nbsp;&nbsp;&nbsp;&nbsp;<a href="{{item.get_absolute_url}}">{{item.title|safe}}</a><br/>{% endif %}
+ {% empty %}
+ <em>None found for this date, but there should be..</em><br>
+ {% endfor %}
+ </span>
+ {% else %}
+ <em>Hmm...</em><br>
+ {% endif %}
+ \ No newline at end of file