summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/qm.html12
-rw-r--r--templates/subcave.html15
2 files changed, 27 insertions, 0 deletions
diff --git a/templates/qm.html b/templates/qm.html
index 06e6e0e..52413f0 100644
--- a/templates/qm.html
+++ b/templates/qm.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load wiki_markup %}
+{% load link %}
{% block title %} QM: {{qm|wiki_to_html_short}} {% endblock %}
@@ -19,6 +20,17 @@
{% block content %}
+
+<div id="col2">
+
+ <h2>Related items</h2>
+
+Parent cave: {{qm.found_by.cave|link}}
+(todo: add parent survey and parent subcave)
+
+
+</div>
+
<h3>Location</h3>
{{qm.location_description}}
diff --git a/templates/subcave.html b/templates/subcave.html
index c635833..4cd9be0 100644
--- a/templates/subcave.html
+++ b/templates/subcave.html
@@ -1,9 +1,24 @@
{% extends "cavebase.html" %}
{% load wiki_markup %}
+{% load mptt_tags %}
{% block title %} Subcave {{subcave}} {% endblock title %}
{% block editLink %}<a href={{subcave.get_admin_url}}>Edit subcave {{subcave|wiki_to_html_short}}</a>{% endblock %}
+
+{% block contentheader %}
+ {{subcave.title}}
+{% endblock contentheader %}
+
+
+
{% block content %}
+ok here comes the drilldown<br />
+{% drilldown_tree_for_node subcave as drilldown %}
+{% for each in drilldown %}
+{{ each }}>
+{% endfor %}
+
+
<h2>{{subcave}}</h2>
<p>
{{subcave.description}}