From 7db7c6706517e32f7186f5af50f431288e422686 Mon Sep 17 00:00:00 2001 From: Martin Green Date: Fri, 24 Jun 2022 19:28:31 +0100 Subject: [PATCH] Added link to parent cave in menu --- core/views/expo.py | 9 ++++++++- templates/caveindex.html | 10 +++++++++- templates/menu.html | 20 +++++++++++++++++++- 3 files changed, 36 insertions(+), 3 deletions(-) diff --git a/core/views/expo.py b/core/views/expo.py index 330733e..05f9499 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -174,10 +174,17 @@ def expowebpage(request, expowebpath, path): menumatch = re.match(r'(.*) {% endif%}
  • Online systems
  • -
  • Caves
  • +
  • Caves +{% if parent_caves %} + +{% endif%}
  • Site index
  • Reports
  • Areas