diff options
author | Wookey <wookey@wookware.org> | 2011-07-11 23:28:23 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2011-07-11 23:28:23 +0100 |
commit | c23fcc5b063e77281dee0932ed2a38d161556d63 (patch) | |
tree | 21591516ec3d45f2c1955fad8bc2fa1acba56c9f /templates/subcave.html | |
parent | 97c388dba07c030ddc9b5638e8e2f334c734a7a8 (diff) | |
parent | 21ff3b8b5d4d4f94ea1fcafbe535d967660ed392 (diff) | |
download | troggle-c23fcc5b063e77281dee0932ed2a38d161556d63.tar.gz troggle-c23fcc5b063e77281dee0932ed2a38d161556d63.tar.bz2 troggle-c23fcc5b063e77281dee0932ed2a38d161556d63.zip |
rest of martin's changes, without reverting lineend issues
Diffstat (limited to 'templates/subcave.html')
-rw-r--r-- | templates/subcave.html | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/templates/subcave.html b/templates/subcave.html index fbb8d1d..41fb2d0 100644 --- a/templates/subcave.html +++ b/templates/subcave.html @@ -1,59 +1,59 @@ -{% 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 %}
-{% block related %}
-
- <h2>Related places</h2>
-
- <h3>Parent</h3>
-
- <ul>
- {% if subcave.parent %}
- <li><a href="{{subcave.parent.get_absolute_url}}">{{subcave.parent}}</a></li>
- {% else %}
- <li><a href="{{subcave.cave.get_absolute_url}}">{{subcave.cave}}</a></li>
- {% endif %}
- </ul>
-
- <h3>Connected subareas</h3>
-
- <ul>
- {% for sibling in subcave.adjoining.all%}
- <li><a href="{{sibling.get_absolute_url}}">{{silbling}}</a></li>
- {% endfor %}
- </ul>
-
- <h3>Children</h3>
-
- <ul>
- {% for child in subcave.children.all %}
- <li><a href="{{child.get_absolute_url}}">{{child}}</a></li>
- {% endfor %}
- </ul>
-
-
-{% endblock %}
-
-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}}
-</p>
-
+{% 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 %} +{% block related %} + + <h2>Related places</h2> + + <h3>Parent</h3> + + <ul> + {% if subcave.parent %} + <li><a href="{{subcave.parent.get_absolute_url}}">{{subcave.parent}}</a></li> + {% else %} + <li><a href="{{subcave.cave.get_absolute_url}}">{{subcave.cave}}</a></li> + {% endif %} + </ul> + + <h3>Connected subareas</h3> + + <ul> + {% for sibling in subcave.adjoining.all%} + <li><a href="{{sibling.get_absolute_url}}">{{silbling}}</a></li> + {% endfor %} + </ul> + + <h3>Children</h3> + + <ul> + {% for child in subcave.children.all %} + <li><a href="{{child.get_absolute_url}}">{{child}}</a></li> + {% endfor %} + </ul> + + +{% endblock %} + +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}} +</p> + {% endblock content %}
\ No newline at end of file |