forked from expo/troggle
flatpages to expopages
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{{ body|safe }}
|
||||
{% if homepage %}
|
||||
{% if editable %}
|
||||
<a href="{% url "editflatpage" path %}">Edit</a>
|
||||
<a href="{% url "editexpopage" path %}">Edit</a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if not has_menu %}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<li><a href="/index.htm">Home</a></li>
|
||||
<li><a href="/infodx.htm">Main Index</a></li>
|
||||
<li><a href="/handbook/index.htm">Handbook</a></li>
|
||||
<li><a href="/handbook//computing/onlinesystems.html">Online systems</a></li>
|
||||
<li><a href="/handbook/computing/onlinesystems.html">Online systems</a></li>
|
||||
<li><a href="/pubs.htm">Reports</a></li>
|
||||
<li><a href="/areas.htm">Areas</a></li>
|
||||
<li><a href="/caves">Caves</a></li>
|
||||
@@ -11,7 +11,7 @@
|
||||
<li><form name=P method=get action="/search" target="_top">
|
||||
<input id="omega-autofocus" type=search name=P value="testing" size=8 autofocus>
|
||||
<input type=submit value="Search"></li>
|
||||
{% if editable %}<li><a href="{% url "editflatpage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %}
|
||||
{% 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_editable %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% block title %}Page not found {{ path }}{% endblock %}
|
||||
{% block body %}
|
||||
<h1>Page not found {{ path }}</h1>
|
||||
<p>Probably a mistake. But you can use <a href="{%url "editflatpage" path %}">this link</a>
|
||||
<p>Probably a mistake. But you can use <a href="{%url "editexpopage" path %}">this link</a>
|
||||
<p>
|
||||
or 'Edit this page' in the menu on the left to create this page if you aare logged in.
|
||||
<p>If you can't see that option in the menu, then you are not logged in and you can't create anything.
|
||||
|
||||
Reference in New Issue
Block a user