forked from expo/troggle
remove non-kataster caves list
This commit is contained in:
@@ -754,6 +754,10 @@ def survexcavesingle(request, cave_shortname):
|
||||
the files and people.
|
||||
|
||||
But might also be a link to a single survex file with no ".svx" suffix, which may not be a cave.
|
||||
|
||||
If cave_shortname=="" then it used to list all caves which did not have a kataser number,
|
||||
an accident of coding. This now does not happen.
|
||||
|
||||
"""
|
||||
if cave_shortname.startswith("caves-16"):
|
||||
return svx(request, cave_shortname)
|
||||
|
||||
@@ -25,8 +25,7 @@
|
||||
<a href="/logbookedit/">Logbook Entry</a> |
|
||||
<a id="cavesLink" href="/caves_recent">Caves</a> |
|
||||
<a id="qmsLink" href="{% url "caveQMs" "1623-290" %}">QMs</a> |
|
||||
<a href="/survexfile">Survex</a> |
|
||||
<a href="{% url "survexcaveslist" %}">All Survex</a> |
|
||||
<a href="{% url "survexcaveslist" %}">Survex files</a> |
|
||||
<a href="{% url "allscans" %}">Scans</a> |
|
||||
<a href="{% url "walletedit" %}">Upload Scans</a> |
|
||||
<a href="{% url "dwgallfiles" %}">Drawings</a> |
|
||||
|
||||
2
urls.py
2
urls.py
@@ -296,7 +296,7 @@ trogglepatterns = [
|
||||
# The survexfile pages
|
||||
path('survexdir', survex.survexdir, name="survexdir"),
|
||||
|
||||
path('survexfile', survex.survexcavesingle, {'cave_shortname': ''}, name="survexcavessingle"),
|
||||
# path('survexfile', survex.survexcavesingle, {'cave_shortname': ''}, name="survexcavessingle"),
|
||||
path('survexfile/caves', survex.survexcaveslist, name="survexcaveslist"),
|
||||
|
||||
path('survexfile/<path:survex_file>.svx', survex.svx, name="svx"),
|
||||
|
||||
Reference in New Issue
Block a user