forked from expo/troggle
Add survex files,wallets and same-day LBEs to the logbook entry
This commit is contained in:
@@ -59,9 +59,6 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% if newQMlink %}
|
||||
<a href="{{newQMlink}}">Add QM found on this trip</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div id="col1">
|
||||
@@ -72,4 +69,47 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span style="font-family: monospace; font-size: 150%; ">
|
||||
|
||||
{% if svxothers %}<u>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.</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 %}
|
||||
<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 %} <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 %}
|
||||
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user