From 2c13c1b5f3d765017468e762082bc693df800278 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 23 Feb 2022 23:04:00 +0000 Subject: [PATCH] remove 'testing' from menu template too --- core/views/survex.py | 3 +++ templates/menu.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/views/survex.py b/core/views/survex.py index 332ad75..47ccad7 100644 --- a/core/views/survex.py +++ b/core/views/survex.py @@ -154,6 +154,9 @@ class SvxForm(forms.Form): res = fout.write(rcode.replace("\r","")) res = fout.write("\n") fout.close() + + # INSERT code to do git add and commit here, to loser repo. + return "SAVED ." def Process(self): diff --git a/templates/menu.html b/templates/menu.html index f23f4b0..c22b38d 100644 --- a/templates/menu.html +++ b/templates/menu.html @@ -9,7 +9,7 @@
  • Caves
  • Troggle
  • - +
  • {% if editable %}
  • Edit this page
  • {% endif %} {% if cave_editable %}
  • Edit this cave
  • {% endif %}