projects
/
climbing.kerkeslager.com
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Display sub-areas in the areas list
[climbing.kerkeslager.com]
/
src
/
climbing
/
templates
/
climbing
/
area_list.html
1
{% extends 'core/base.html' %}
2
3
{% block content %}
4
{% if object_list %}
5
<ul>
6
{% for area in object_list %}
7
<li>
8
{{ area.name }}
9
10
<ul>
11
{% for sa in area.sub_areas %}
12
<li>{{ sa.name }}</li>
13
{% endfor %}
14
</ul>
15
16
{% if not forloop.last %}
17
<hr/>
18
{% endif %}
19
</li>
20
{% endfor %}
21
</ul>
22
{% else %}
23
<em>No areas found.</em>
24
{% endif %}
25
{% endblock %}