summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2023-07-05 18:27:49 +0100
committerMartin Green <martin.speleo@gmail.com>2023-07-05 18:27:49 +0100
commita70cf6cad3e91b1a400fac7653eaa35e28caaf7b (patch)
treed987f2069bc4b47e10a04f85738c14856e393216 /templates
parent63599cb27ad6cfe60b71e3f565ac286cf4f96026 (diff)
parent745ccd7f886444da4c90048a1a1015218f35891e (diff)
downloadtroggle-a70cf6cad3e91b1a400fac7653eaa35e28caaf7b.tar.gz
troggle-a70cf6cad3e91b1a400fac7653eaa35e28caaf7b.tar.bz2
troggle-a70cf6cad3e91b1a400fac7653eaa35e28caaf7b.zip
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html1
-rw-r--r--templates/menu.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index e654edd..1f7c0c3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -14,6 +14,7 @@
<div id="header">
<h1>CUCC Expeditions to Austria: 1976 - 2022</h1>
<div id="editLinks"> {% block loginInfo %}
+ {% if settings.DEVSERVER %}<b style="color:red">RUNNING ON LOCALSERVER</b>{% endif %}
<a href="/">Home</a> |
<a id="cuccLink" href="http://camcaving.uk/">CUCC</a> |
<a id="expoWebsiteLink" href="http://expo.survex.com">expo.survex</a> |
diff --git a/templates/menu.html b/templates/menu.html
index 8ef5bff..4b15a5f 100644
--- a/templates/menu.html
+++ b/templates/menu.html
@@ -44,6 +44,7 @@
<input type=submit value="Search"></form></li>
{% if editable %}<li><a href="{% if local %}https://expo.survex.com{% endif %}{% url "editexpopage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %}
{% if cave_editable %}<li><a href="{% if local %}https://expo.survex.com{% endif %}{% url "edit_cave" cave.url_parent cave.slug %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %}
+<li> {% if settings.DEVSERVER %}<b style="color:red">RUNNING ON LOCALSERVER</b>{% endif %}
</ul>
</div>
{% endif %}