forked from expo/troggle
Tidy HTML output
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
<a href="{% url "dataissues" %}">Data Issues</a> |
|
||||
<a href="/handbook/computing/todo-data.html">tasks to do </a> |
|
||||
<a id="cavesLink" href="{% url "caveindex" %}">caves</a> |
|
||||
<a id="qmsLink" href="{% url "caveQMs" "1623-161" %}">QMs</a> |
|
||||
<a id="entsLink" href="{% url "eastings" %}">ents</a> |
|
||||
<a id="folklink" href="/folk">expoers</a> |
|
||||
<a id="caversLink" href="{% url "notablepersons" %}">survey lengths</a> |
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% load link %}
|
||||
{% block title %} QM: {{qm|safe}} {% endblock %}
|
||||
{% block contentheader %}
|
||||
<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.
|
||||
@@ -7,13 +11,15 @@
|
||||
<li><a href="/cave/qms/1623-204">1623-204 QMs</a>
|
||||
<li><a href="/cave/qms/1623-234">1623-234 QMs</a>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<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> {{QM.nearest_station_name}} :: {{QM.nearest_station_description}} <b>{{QM.cave}}</b></li>
|
||||
<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>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
@@ -21,8 +27,9 @@
|
||||
<ul>
|
||||
{% for QM in cave.get_QMs %}
|
||||
{% if QM.ticked_off_by %}
|
||||
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a> {{QM.nearest_station_name}} :: {{QM.nearest_station_description}} <b>{{QM.cave}}</b></li>
|
||||
<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>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}</p>
|
||||
{% endblock %}
|
||||
@@ -29,6 +29,8 @@ Parent cave: {{qm.found_by.cave|link}}
|
||||
<h3>Location</h3>
|
||||
{{qm.location_description}}
|
||||
|
||||
<h3>Grade</h3>
|
||||
{{qm.grade}}
|
||||
|
||||
<h3>Creation</h3>
|
||||
Found by <a href="{{qm.found_by.get_absolute_url}}">{{qm.found_by}}</a> on {{qm.found_by.date}}.
|
||||
|
||||
Reference in New Issue
Block a user