troggle-unchained/templates/qm.html

70 lines
2.0 KiB
HTML
Raw Normal View History

2011-07-11 02:10:22 +01:00
{% extends "base.html" %}
{% load link %}
2021-04-30 22:44:03 +01:00
{% block title %} QM: {{qm|safe}} {% endblock %}
2011-07-11 02:10:22 +01:00
{% block contentheader %}
<h3>QMs available for these caves from CSV import</h3>
<ul>
2022-07-06 11:44:40 +01:00
<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-234' %}">1623-234 QMs</a>
</ul>
<p>QMs are also loaded directly from the survex files (possibly buggy, July 2022), e.g. see
<ul>
2022-07-06 11:44:40 +01:00
<li><a href="{% url 'caveQMs' '1623-264' %}">1623-264 QMs</a>
<li><a href="{% url 'caveQMs' '1623-258' %}">1623-258 QMs</a>
<li><a href="{% url 'caveQMs' '1623-290' %}">1623-290 QMs</a>
</ul>
2022-07-05 15:40:31 +01:00
<p>For full explanation of the current status of the QM system(s), see <a href="/handbook/troggle/scriptsqms.html">scriptsqms page</a>.
2011-07-11 02:10:22 +01:00
<table id="cavepage">
<tr>
<th id="kat_no"><a href="{{qm.get_previous_by_id.get_absolute_url}}">Previous</a></th>
2021-04-30 22:44:03 +01:00
<th id="name">{{qm|safe}}</th>
2011-07-11 02:10:22 +01:00
<th id="status"><a href="{{qm.get_next_by_id.get_absolute_url}}">Next</a></th>
</tr>
</table>
{% endblock %}
{% block related %}
{% endblock %}
2022-07-06 11:44:40 +01:00
2011-07-11 02:10:22 +01:00
{% block content %}
2022-07-06 11:44:40 +01:00
<h3>Cave</h3>
{% if qm.cave %}
<a href="{% url 'caveQMs' qm.cave|safe %}">{{ qm.cave|safe }} QMs</a> <br>
{% else %}
2022-07-06 15:35:08 +01:00
{% if qm.cave %}
<a href="{% url 'caveQMs' qm.cave|safe %}">{{ qm.cave|safe }} QMs</a> <br>
2022-07-06 11:44:40 +01:00
{% endif %}
{% endif %}
<a href="/{{ qm.cave.url }}">{{ qm.cave|safe }} cave description</a>
2011-07-11 02:10:22 +01:00
<h3>Location</h3>
{{qm.location_description}}
2022-07-06 11:44:40 +01:00
<br>
{{qm.blockname}}
2011-07-11 02:10:22 +01:00
2022-07-05 15:02:43 +01:00
<h3>Grade</h3>
{{qm.grade}}
2011-07-11 02:10:22 +01:00
2022-07-06 15:35:08 +01:00
{% if qm.found_by %}
2011-07-11 02:10:22 +01:00
<h3>Creation</h3>
Found by <a href="{{qm.found_by.get_absolute_url}}">{{qm.found_by}}</a> on {{qm.found_by.date}}.
2022-07-06 15:35:08 +01:00
{% endif %}
2011-07-11 02:10:22 +01:00
<h3>Completion</h3>
{% if ticked_off_by %}
{{qm.completion_description}}
Ticked off by: <a href="{{qm.ticked_off_by.get_absolute_url}}">{{qm.ticked_off_by}}</a><br />
Description: {{qm.completion_description}}
{% else %}
None yet- STILL EXTANT.
{% endif %}
<h3>Comment</h3>
{{qm.comment}}
{% endblock %}