diff options
Diffstat (limited to 'templates/menu.html')
-rw-r--r-- | templates/menu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/menu.html b/templates/menu.html index 3014dce..8ef5bff 100644 --- a/templates/menu.html +++ b/templates/menu.html @@ -42,8 +42,8 @@ <li><form name=P method=get action="/search" 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="{% url "editexpopage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %} -{% if cave_editable %}<li><a href="{% url "edit_cave" cave.url_parent cave.slug %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %} +{% 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 %} </ul> </div> {% endif %} |