forked from expo/troggle
Fixing inherited *date into sub-blocks
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
{% for QM in cave.get_QMs %}
|
||||
{% if QM.ticked %}
|
||||
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a>
|
||||
{% if QM.nearest_station %}⋮<em>{{QM.nearest_station}}</em>⋮{% endif %}
|
||||
{% if QM.nearest_station_name %}⋮<em>{{QM.nearest_station_name}}</em>⋮{% endif %}
|
||||
{% if QM.nearest_station_description %}⋮<em>{{QM.nearest_station_description}}</em>⋮{% endif %} {{QM.location_description}} <b>{{QM.grade}}</b>
|
||||
{% if QM.block %} <a href="/survexfile/{{QM.block.survexfile.path}}.svx">{{QM.block}}.svx</a> {{QM.block.date}} {% endif %}
|
||||
|
||||
|
||||
@@ -80,14 +80,16 @@ LOGMESSAGES
|
||||
-->
|
||||
{% endif %}
|
||||
</div>
|
||||
undergound survey length: {{svxlength|floatformat:2}} metres
|
||||
<span style="font-family: monospace; font-size: 130%; ">
|
||||
underground survey length: {{svxlength|floatformat:2}} metres<br />
|
||||
|
||||
{% for sb in svxblocks %}
|
||||
block:({{sb}}) has parent block:<a href="{{sb.parent.path}}">({{sb.parent}})</a>
|
||||
{% empty %}
|
||||
Cannot find any <em>dated</em> 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 %}
|
||||
<span style="font-family: monospace; font-size: 130%; ">
|
||||
|
||||
{% for key, value in events.items %}
|
||||
{% with trips=value.0 svxothers=value.1 wallets=value.2 blocks=value.3 %}
|
||||
|
||||
Reference in New Issue
Block a user