summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authormartin speleo <martin.speleo@gmail.com>2009-07-04 18:11:20 +0100
committermartin speleo <martin.speleo@gmail.com>2009-07-04 18:11:20 +0100
commitc5c22562e0f2f0500493fff16c7c0f5bb4535880 (patch)
treea3f1b2d1b2efa777a11bdbd527958403260771e1 /templates
parent84c973f291e801df012596a2ea171d223f80d838 (diff)
downloadtroggle-c5c22562e0f2f0500493fff16c7c0f5bb4535880.tar.gz
troggle-c5c22562e0f2f0500493fff16c7c0f5bb4535880.tar.bz2
troggle-c5c22562e0f2f0500493fff16c7c0f5bb4535880.zip
[svn] Initial and poor attempt at a view for cave descriptions.
Diffstat (limited to 'templates')
-rw-r--r--templates/cave_description.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/cave_description.html b/templates/cave_description.html
new file mode 100644
index 0000000..f41d9fd
--- /dev/null
+++ b/templates/cave_description.html
@@ -0,0 +1,20 @@
+{% extends "cavebase.html" %}
+{% load wiki_markup %}
+{% load mptt_tags %}
+{% block title %} {{cave_description.short_name}} {% endblock title %}
+{% block editLink %}<a href={{cave_description.get_admin_url}}>Edit description {{cave_description}}</a>{% endblock %}
+
+{% block contentheader %}
+ {{cave_description.long_name}}
+{% endblock contentheader %}
+
+
+
+{% block content %}
+
+<h1>{{cave_description.long_name}}</h1>
+<p>
+ {{cave_description.description|wiki_to_html}}
+</p>
+
+{% endblock content %} \ No newline at end of file