2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 11:49:50 +00:00

Allow for editing flatpage titles, and made a common uneditable list of links.

This commit is contained in:
Martin Green
2011-08-08 09:51:47 +01:00
parent d8fe39ae86
commit 13fe89af9f
6 changed files with 44 additions and 19 deletions

12
templates/menu.html Normal file
View File

@@ -0,0 +1,12 @@
{% if not homepage %}
<ul id="links">
<li><a href="/index.htm">Home</a></li>
<li><a href="/infodx.htm">Main Index</a></li>
<li><a href="/troggle">Troggle</a></li>
<li><a href="/areas.htm">Areas</a></li>
<li><a href="/indxal.htm">Caves</a></li>
<li><a href="/handbook/index.htm">Handbook</a></li>
<li><a href="/pubs.htm">Reports</a></li>
{% if editable %}<li><a href="{% url editflatpage path %}">Edit</a></li>{% endif %}
</ul>
{% endif %}