diff --git a/templates/cave.html b/templates/cave.html index 0d91769..2996736 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -106,15 +106,17 @@

References

{{ cave.references|safe }} {% endif %} + +{% if not local %} {% if cave.get_QMs %}

QMs

QM page for {{ cave_id|safe }} {% endif %} - -

Scanned survey notes

-{{ cave_id|safe }} - +

Scanned survey notes

+ {{ cave_id|safe }} +{% endif %} + {% if cave.notes %}

Notes

{{ cave.notes|safe }} @@ -130,7 +132,7 @@ {{ ent.entrance_letter|safe }} {% if ent.entrance.name %} {{ ent.entrance.name|safe }} - {% endif %}Edit + {% endif %}Edit
{% if ent.entrance.marking %}
Marking
{{ ent.entrance.marking_val|safe }}
@@ -190,7 +192,7 @@ {% endif %}

-New Entrance +New Entrance

Survex File(s)

All survexfiles for this cave
diff --git a/templates/entrance_html.kml b/templates/entrance_html.kml index 48c694d..902102c 100644 --- a/templates/entrance_html.kml +++ b/templates/entrance_html.kml @@ -1,5 +1,5 @@
- Cave: {{entrance.cavelist.0.name }} + Cave: {{entrance.cavelist.0 }} {% if entrance.marking %}
Marking
{{ entrance.marking_val|safe }}
{% endif %} diff --git a/templates/menu.html b/templates/menu.html index 3014dce..8ef5bff 100644 --- a/templates/menu.html +++ b/templates/menu.html @@ -42,8 +42,8 @@
  • -{% if editable %}
  • Edit this page
  • {% endif %} -{% if cave_editable %}
  • Edit this cave
  • {% endif %} +{% if editable %}
  • Edit this page
  • {% endif %} +{% if cave_editable %}
  • Edit this cave
  • {% endif %} {% endif %}