diff options
Diffstat (limited to 'templates/qm.html')
-rw-r--r-- | templates/qm.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/qm.html b/templates/qm.html index c027918..4c2ddd3 100644 --- a/templates/qm.html +++ b/templates/qm.html @@ -52,10 +52,10 @@ Survex block: <span style="font-family: monospace">{{qm.blockname}}</span> <br> {% endif %} QM Nearest station: <span style="font-family: monospace">'{{qm.nearest_station_name}}' {{nearest_station_description}}</span><br /> -QM Page reference: <span style="font-family: monospace">'<a href="/{{qm.cave.url_parent}}/{{qm.page_ref}}">{{qm.page_ref|safe}}</a>'</span><br> +{% if qm.page_ref %}QM Page reference: <span style="font-family: monospace">'<a href="/{{qm.cave.url_parent}}/{{qm.page_ref}}">{{qm.page_ref|safe}}</a>'</span><br />{% endif %} <h4>QM original description</h4> -<div style="text-indent: 5%; font-family: monospace">{{qm.location_description|safe}}</div> +<div style="text-indent: 5%; font-size: 150%; font-family: monospace">{{qm.location_description|safe}}</div> {% if qm.found_by %} <h4>Creation</h4> @@ -65,6 +65,7 @@ Found by <a href="{{qm.found_by.get_absolute_url}}">{{qm.found_by}}</a> on {{qm. {% if qm.cave %} <h4>Cave: {{qm.cave|safe }}</h4> {{ qm.cave|safe }} - <a href="{% url 'caveQMs' qm.cave|safe %}">all QMs </a> for this cave <br> +{{ qm.cave|safe }} - <a href="{% url 'cave_openQMs' qm.cave|safe %}">open QMs checklist </a> for this cave <br> {{ qm.cave|safe }} - <a href="/{{ qm.cave.url }}"> cave description </a> <br /> {{ qm.cave|safe }} - all <a href="/survexfile/{{qm.cave.kataster_number}}">survexfiles</a> for this cave<br /> {{ qm.cave|safe }} - <a href="/survexfile/{{qm.cave.survex_file}}">primary survexfile</a> for this cave<br /><br /> |