summaryrefslogtreecommitdiffstats
path: root/templates/qm.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-07-20 20:47:29 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-07-20 20:47:29 +0300
commit0a158db97df05e787fb27501627effedf84308ff (patch)
tree2e7f76229f3c1207cf1e9b639c600afdad895449 /templates/qm.html
parentde37eea16785e3e2976d0f0a1f29168da54e4783 (diff)
downloadtroggle-0a158db97df05e787fb27501627effedf84308ff.tar.gz
troggle-0a158db97df05e787fb27501627effedf84308ff.tar.bz2
troggle-0a158db97df05e787fb27501627effedf84308ff.zip
Trial QM tick mechanism in survex files
Diffstat (limited to 'templates/qm.html')
-rw-r--r--templates/qm.html23
1 files changed, 14 insertions, 9 deletions
diff --git a/templates/qm.html b/templates/qm.html
index 0bc02bd..0a36098 100644
--- a/templates/qm.html
+++ b/templates/qm.html
@@ -42,6 +42,11 @@
{% endif %}
<a href="/{{ qm.cave.url }}">{{ qm.cave|safe }} cave description</a>
+<h3>QM Number</h3>
+{{qm.number}}
+
+<h3>Grade</h3>
+{{qm.grade}}
{% if qm.block %}
<h3>Survexfile</h3>
@@ -49,15 +54,13 @@
{% endif %}
<h3>Location</h3>
-{{qm.location_description}}
+{% if qm.block %}
+Survex block: {{qm.blockname}}
<br>
-{{qm.blockname}}
-
-<h3>QM Number</h3>
-{{qm.number}}
-
-<h3>Grade</h3>
-{{qm.grade}}
+{% endif %}
+Nearest station: '{{qm.nearest_station_name}}' {{nearest_station_description}}
+<h3>QM Description</h3>
+{{qm.location_description}}
{% if qm.found_by %}
<h3>Creation</h3>
@@ -67,7 +70,9 @@ Found by <a href="{{qm.found_by.get_absolute_url}}">{{qm.found_by}}</a> on {{qm.
<h3>Completion</h3>
{% if qm.ticked %}
Ticked off log entry: <a href="{{qm.ticked_off_by.get_absolute_url}}">{{qm.ticked_off_by}}</a><br />
-Ticked off Description Page: <a href="/{{qm.get_completion_url}}">{{qm.get_completion_url}}</a>
+Ticked off Description Page: <a href="/{{qm.get_completion_url}}">{{qm.get_completion_url}}</a> <br />
+Tick off date: [For survex file ticks. not implemented yet, needs model change]</a> <br />
+Tick off comment: [For survex file ticks. not implemented yet, needs model change]</a>
{% else %}
No completion description yet- STILL EXTANT.