summaryrefslogtreecommitdiffstats
path: root/templates/walletform.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/walletform.html')
-rw-r--r--templates/walletform.html53
1 files changed, 34 insertions, 19 deletions
diff --git a/templates/walletform.html b/templates/walletform.html
index c32ba8a..d9427e9 100644
--- a/templates/walletform.html
+++ b/templates/walletform.html
@@ -109,31 +109,17 @@
{% endif %}
{% endif %}
{% if psg %}<u>Survey area</u>: <b>{{psg}}</b><br>{% endif %}
- {% if svxfiles %}<u>Survey files</u>:
- {% for svx in svxfiles%}
+ {% if svxfiles %}<u>Survex files</u>:
+ {% for svx in svxfiles %}
<a href="/survexfile/{{svx}}">{{svx}}</a>
{% endfor %}
-
- <br>
+ <br>
{% endif %}
- {% if metadataurl %}<u>Debug</u>: <a href="{{metadataurl}}">json file</a><br> {% endif %}
+
</span>
<span style="font-family: monospace; font-size: 130%; ">
- <!--
- <table style="border: 1px; border-style: hidden;>
- {% for d, value in waldata.items %}
- <tr style="border-style: hidden;">
- <td style="border-style: hidden; padding-right: 3em;">{{d}}</td>
-
- <td> <b>{{value}}</b></td>
-
- </tr>
- {% empty %}
- <p>&lt;No JSON data here&gt;
- {% endfor %}
- </table>
- -->
+
</span>
<style>
input {font-family: monospace; font-weight: bold; font-size: 100%; padding: 0.5em; }
@@ -210,5 +196,34 @@
</button>{% endif %}
</form>
</div>
+ <span style="font-family: monospace; font-size: 150%; ">
+
+ {% if trips %}<u>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, bit there should be..</em><br>
+ {% endfor %}
+ </span>
+ {% else %}
+ <em>No Logbook trips found for this date.</em><br>
+ {% endif %}
+ {% if svxothers %}<u>Other 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, bit there should be..</em><br>
+ {% endfor %}
+ </span>
+ {% else %}
+ <em>No other survex files found for this date.</em><br>
+ {% endif %}
+ {% if metadataurl %}<u>Debug</u>:
+ <span style="font-size: 70%; ">
+ <a href="{{metadataurl}}">json file</a><br> {% endif %}
+ </span>
+ </span>
{% endif %} <!-- not create -->
{% endblock %}