troggle-unchained/templates/cave_qms.html

35 lines
1.4 KiB
HTML
Raw Normal View History

2022-07-05 15:02:43 +01:00
{% extends "base.html" %}
{% load link %}
{% block title %} QM: {{qm|safe}} {% endblock %}
{% block contentheader %}
2021-04-27 15:38:20 +01:00
<h2>Question marks for {{cave.kataster_number}} - {{cave.official_name|safe}} - {{cave.unofficial_number}}</h2>
<p>Note that QMs are only loaded for 1623-161, 1623-204 and 1623-234 as these are the only CSV files loaded by the import parser.
No QMs are loaded directly from the survex files (yet, as of July 2022).
<ul>
<li><a href="/cave/qms/1623-161">1623-161 QMs</a>
<li><a href="/cave/qms/1623-204">1623-204 QMs</a>
<li><a href="/cave/qms/1623-234">1623-234 QMs</a>
</ul>
2022-07-05 15:02:43 +01:00
{% endblock %}
{% block content %}
2011-07-11 00:50:07 +01:00
<h3>Extant</h3>
2021-04-27 15:38:20 +01:00
<p>{% if cave.get_QMs %}
2011-07-11 00:50:07 +01:00
<ul id="cavelist">
{% for QM in cave.get_QMs %}
{% if QM.ticked_off_by %}
{% else %}
2022-07-05 15:02:43 +01:00
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a> {{QM.nearest_station_name}} :: {{QM.nearest_station_description}} {{QM.location_description}} <b>{{QM.grade}}</b></li>
2011-07-11 00:50:07 +01:00
{% endif %}
{% endfor %}
</ul>
<h3>Ticked off</h3>
<ul>
{% for QM in cave.get_QMs %}
{% if QM.ticked_off_by %}
2022-07-05 15:02:43 +01:00
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a> {{QM.nearest_station_name}} :: {{QM.nearest_station_description}} {{QM.location_description}} <b>{{QM.grade}}</b></li>
2011-07-11 00:50:07 +01:00
{% endif %}
{% endfor %}
</ul>
{% endif %}</p>
2022-07-05 15:02:43 +01:00
{% endblock %}