summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorExpo laptop Crowley <cucc.expedition@gmail.com>2023-07-05 19:04:55 +0200
committerExpo laptop Crowley <cucc.expedition@gmail.com>2023-07-05 19:05:07 +0200
commit745ccd7f886444da4c90048a1a1015218f35891e (patch)
tree561b7693e69d8889b1eeab1d8c8c922fab6a39dc
parent2b30b7b624e220ed2c0ef9915fe63f9d12ab3a38 (diff)
downloadtroggle-745ccd7f886444da4c90048a1a1015218f35891e.tar.gz
troggle-745ccd7f886444da4c90048a1a1015218f35891e.tar.bz2
troggle-745ccd7f886444da4c90048a1a1015218f35891e.zip
Show when running locally
-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 %}