2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-01-19 00:02:56 +00:00
Files
troggle/templates/cavelist_columns.html

32 lines
1.5 KiB
HTML

<a href="/{{ cave.url }}">
{% if cave.unexplored %}
<span style="color:mediumvioletred" title="The cave is marked as unexplored/undescended">
{% else %}
<span>
{% endif %}
{% if cave.kataster_number %}
{{ cave.kataster_number }} <em>{{cave.official_name|safe}}</em></a>
{% if cave.unofficial_number %}
({{cave.unofficial_number }})
{% endif %}
{% else %}
{{cave.unofficial_number }} <em>{{cave.official_name|safe}}</em></a>
{% endif %}
{% if cave.filename %}
{% if cave.entrances %}
{% if cave.no_location %}<span title="the cave has an Entrance, but no entrances have located survey station" style="color: black">&#x25B2;</span>{% endif %}
{% else %}<span title="the cave has no Entrance (and is not 'pending')" style="color: orange">&#x25B2;</span>
{% endif %}
{% else %}<span title="the cave is 'pending' creation properly" style="color: #43C6DB">&#x25BC;</span>
{% endif %}
{% if cave.survex_file %}{% else %}
{% if cave.fully_explored %}
<span title="no survex file is explicitly associated with the cave but it is fully explored" style="color: blue">&#10033;</span>
{% else %}
<span title="no survex file is explicitly associated with the cave" style="color: red">&#10033;</span>
{% endif %}
{% endif %}
{% if cave.any_qm_open %}<span title="the cave has open QMs" style="color: red">&#x25BC;</span>{% endif %}
</span>
<br />