troggle-unchained/templates/cave_qms.html
2021-04-27 15:38:20 +01:00

21 lines
608 B
HTML

<h2>Question marks for {{cave.kataster_number}} - {{cave.official_name|safe}} - {{cave.unofficial_number}}</h2>
<h3>Extant</h3>
<p>{% if cave.get_QMs %}
<ul id="cavelist">
{% for QM in cave.get_QMs %}
{% if QM.ticked_off_by %}
{% else %}
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a></li>
{% endif %}
{% endfor %}
</ul>
<h3>Ticked off</h3>
<ul>
{% for QM in cave.get_QMs %}
{% if QM.ticked_off_by %}
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}</p>