forked from expo/troggle
List the logbook trips and other svx files of the same date
This commit is contained in:
@@ -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><No JSON data here>
|
||||
{% 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 %} <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 %} <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 %}
|
||||
|
||||
Reference in New Issue
Block a user