summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-02-09 14:16:08 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-02-09 14:16:08 +0000
commit441049b0f18fdd801b94ceeb613106d7b8ba4d8b (patch)
tree92a453e8499ee8360591235ad77b6ab82fc31edb
parentc4f990f002eb451c729d580beec1bd696714203c (diff)
downloadtroggle-441049b0f18fdd801b94ceeb613106d7b8ba4d8b.tar.gz
troggle-441049b0f18fdd801b94ceeb613106d7b8ba4d8b.tar.bz2
troggle-441049b0f18fdd801b94ceeb613106d7b8ba4d8b.zip
kanboard in menu
-rw-r--r--templates/menu.html16
1 files changed, 14 insertions, 2 deletions
diff --git a/templates/menu.html b/templates/menu.html
index 724f8b4..639b7eb 100644
--- a/templates/menu.html
+++ b/templates/menu.html
@@ -46,12 +46,24 @@
{% if year %}
<ul><li><a href="/years/{{current_year}}">{{ year }}</a></li></ul>
{% endif %}
-<!--<li><a href="/guidebook/areas.htm">Areas</a></li>-->
+{% if settings.DEVSERVER %}
+<li><a href="https://expo.survex.com/kanboard/">Kanboard</a></li>
+{% else %}
+<li><a href="/kanboard/">Kanboard</a></li>
+{% endif %}
<li><a href="/handbook/troggle/training/trogbegin.html">Troggle</a></li>
-<li><form name=P method=get action="/search" target="_top">
+<li><form name=P method=get
+{% if settings.DEVSERVER %}
+action="https://expo.survex.com/search"
+{% else %}
+action="/search"
+{% endif %}
+
+target="_top">
<input id="omega-autofocus" type=search name=P size=8 autofocus>
<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> <br>slug:{{ cave.slug }}<br>newslug:{{ cave.newslug }}<br>url:{{ cave.url }}{% endif %}