From 4ae79a642e079ecd366601649067680f1b66159c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 19 Mar 2023 19:12:09 +0000 Subject: [PATCH] Report format clean-up --- templates/cave.html | 5 +++-- templates/cave_qms.html | 11 +++++---- templates/qm.html | 50 +++++++++++++++++++++-------------------- 3 files changed, 36 insertions(+), 30 deletions(-) diff --git a/templates/cave.html b/templates/cave.html index f06845b..a7faab2 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -485,10 +485,11 @@ div#scene {

Explorers

{{ cave.explorers|safe }} {% endif %} +

Survex File(s)

+ All survexfiles for this cave
{% if cave.survex_file %} -

Survex File

+ Primary survex file for this cave

[CaveView display of the .3d file is temporarily disabled while we fix things (Nov.2021).
See /handbook/computing/todo.rst.]

- Primary Survex file  for this cave

{% endif %} diff --git a/templates/cave_qms.html b/templates/cave_qms.html index 6c29fb8..fda880a 100644 --- a/templates/cave_qms.html +++ b/templates/cave_qms.html @@ -2,7 +2,7 @@ {% load link %} {% block title %} QM: {{qm|safe}} {% endblock %} {% block contentheader %} -

Question marks for {{cave.kataster_number}} - {{cave.official_name|safe}} - {{cave.unofficial_number}}

+

Question marks for {{cave.kataster_number}} {% if cave.official_name %}- {{cave.official_name|safe}}{% endif %}{% if cave.unofficial_number %} - ({{cave.unofficial_number|safe}}){% endif %}

Note that QMs loaded for 1623-161, 1623-204 and 1623-234 are imported from CSV files . @@ -24,10 +24,13 @@

For full explanation of the current status of the QM system(s), see scriptsqms page. {% endblock %} {% block content %} +


+{{cave.slug}} - all Survexfiles
+{{cave.slug}} - Primary survexfile

Open leads