summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorexpo <expo@expobox.potato.hut>2012-08-12 19:10:23 +0200
committerexpo <expo@expobox.potato.hut>2012-08-12 19:10:23 +0200
commit28047277f1fb0679c3b94bb5a14d2384a94cc27f (patch)
treeaef1c4569ab3807e5aed76512c42ae3cee9d0ca8 /templates
parent5ff163efaa0c5c6d154b1f47991d41ec4abfccef (diff)
downloadtroggle-28047277f1fb0679c3b94bb5a14d2384a94cc27f.tar.gz
troggle-28047277f1fb0679c3b94bb5a14d2384a94cc27f.tar.bz2
troggle-28047277f1fb0679c3b94bb5a14d2384a94cc27f.zip
Started removing foreignkeys to caves, to achieve greater flexability. Some log book entries stuff may be broken. Add ability to make new caves and entrances via website.
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/cave_entrances.html2
-rw-r--r--templates/caveindex.html2
3 files changed, 5 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 3fa9245..b1e51e3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -18,7 +18,7 @@
<div id="header">
<h1>CUCC Expeditions to Austria: 1976 - 2012</h1>
<div id="editLinks"> {% block loginInfo %}
- <a href="{{ settings.EXPOWEB_URL }}">Expoweb</a> |
+ <a href="{{settings.EXPOWEB_URL}}">Expoweb</a> |
{% if user.username %}
You are logged in as {{ user.username }}
{% if user.person %}(<a href="{{ user.person.get_absolute_url }}">{{ user.person }}</a>)
diff --git a/templates/cave_entrances.html b/templates/cave_entrances.html
index 1364acf..6468ebc 100644
--- a/templates/cave_entrances.html
+++ b/templates/cave_entrances.html
@@ -65,5 +65,7 @@
</li>
{% endfor %}
</ul>
+
{% endif %}</p>
+<a href="{% url newentrance %}">New Entrance</a>
</div>
diff --git a/templates/caveindex.html b/templates/caveindex.html
index 42322d3..fe141ed 100644
--- a/templates/caveindex.html
+++ b/templates/caveindex.html
@@ -34,4 +34,6 @@
{% endfor %}
</ul>
+<a href="{% url newcave %}">New Cave</a>
+
{% endblock %}