diff options
Diffstat (limited to 'templates/cave_qms.html')
-rw-r--r-- | templates/cave_qms.html | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/templates/cave_qms.html b/templates/cave_qms.html index c5bde56..358d098 100644 --- a/templates/cave_qms.html +++ b/templates/cave_qms.html @@ -7,8 +7,8 @@ <p>Note that QMs loaded for 1623-161, 1623-204 and 1623-234 are imported from CSV files . <ul> - <li><a href="{% url 'caveQMs' '1623-161' %}">1623-161 QMs</a> - <li><a href="{% url 'caveQMs' '1623-204' %}">1623-204 QMs</a> + <li><a href="{% url 'caveQMs' '1623-161' %}">1623-161 QMs</a> Maybe OUT OF DATE. See <a href="/1623/161/qmdone.htm">the manually curated list <b>instead</b></a> + <li><a href="{% url 'caveQMs' '1623-204' %}">1623-204 QMs</a> Maybe OUT OF DATE. See <a href=" /1623/204/qm.html">the manually curated list <b>instead</b></a> <li><a href="{% url 'caveQMs' '1623-234' %}">1623-234 QMs</a> </ul> <p>QMs are also loaded directly from the survex files, e.g. see @@ -24,20 +24,29 @@ {% block content %} <h3>Extant</h3> <p>{% if cave.get_QMs %} - <ul id="cavelist"> + <ul> {% for QM in cave.get_QMs %} - {% if QM.ticked_off_by %} + {% if QM.ticked %} {% else %} - <li><a href="{{QM.get_absolute_url}}">{{QM}}</a> :: {{QM.nearest_station_description}} {{QM.location_description}} <b>{{QM.grade}}</b></li> + <li><a href="{{QM.get_absolute_url}}">{{QM}}</a> :: {{QM.nearest_station_description}} {{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 %}</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> :: {{QM.nearest_station_description}} {{QM.location_description}} <b>{{QM.grade}}</b></li> + {% if QM.ticked %} + <li><a href="{{QM.get_absolute_url}}">{{QM}}</a> :: {{QM.nearest_station_description}} {{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 %} + + {% if QM.completion_description %} + Completion page: <a href="/{{QM.get_completion_url}}">{{QM.completion_description}}</a> + {% endif %} {% endif %} + + + {% endfor %} </ul> {% endif %}</p> |