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
commitecd5bbcb1dbb00cc0d39cdf80151f41c07c6c8b2 (patch)
tree0899e18f4b9ccbc63e2241c011af0090e09f415d /templates
parent6d5babd3319fec50f404bf7ad044962bd1f192e9 (diff)
downloadtroggle-ecd5bbcb1dbb00cc0d39cdf80151f41c07c6c8b2.tar.gz
troggle-ecd5bbcb1dbb00cc0d39cdf80151f41c07c6c8b2.tar.bz2
troggle-ecd5bbcb1dbb00cc0d39cdf80151f41c07c6c8b2.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 %}