From cf566d4bc77d4b0b8059cc559dd91cc511a78675 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 29 Jul 2025 11:34:11 +0200 Subject: [PATCH] restored original url /caves to point ot all caves --- core/views/caves.py | 2 +- templates/caveindex.html | 6 +++--- templates/cavesallindex.html | 2 +- templates/menu.html | 2 +- templates/troggletoolbar.html | 2 +- urls.py | 8 ++++---- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/core/views/caves.py b/core/views/caves.py index 67d0b2319..dcd199d3e 100644 --- a/core/views/caves.py +++ b/core/views/caves.py @@ -205,7 +205,7 @@ def getnotablecaves(): print(notablecaves) return notablecaves -def caveindex(request): +def caves_recent(request): caves1623 = list(Cave.objects.filter(areacode="1623")) caves1626 = list(Cave.objects.filter(areacode="1626")) caves1623.sort(key=caveKey) diff --git a/templates/caveindex.html b/templates/caveindex.html index 58b003c7e..44411cc12 100644 --- a/templates/caveindex.html +++ b/templates/caveindex.html @@ -22,11 +22,11 @@ {% include 'cave_red_star.html' %}

-See All Caves for all the caves in areas 1623, 1626, 1624, 1627 +See All Caves for all the caves in areas 1623, 1626, 1624, 1627

New Cave
- Cave Number Index - kept updated +

@@ -56,6 +56,6 @@ See All Caves for all the caves in areas 1623,

New Cave
- Cave Number Index - kept updated +

{% endblock %} diff --git a/templates/cavesallindex.html b/templates/cavesallindex.html index c8f045032..228e1ed8f 100644 --- a/templates/cavesallindex.html +++ b/templates/cavesallindex.html @@ -22,7 +22,7 @@ {% include 'cave_red_star.html' %} -

Go to Recent Caves for a shorter list of recent caves. +

Go to Recent Caves for a shorter list of recent caves.

New Cave
diff --git a/templates/menu.html b/templates/menu.html index 45bb8a070..a54d3574d 100644 --- a/templates/menu.html +++ b/templates/menu.html @@ -22,7 +22,7 @@

  • Make Logbook Entry
  • -
  • Caves +
  • Caves {% if parent_caves %}