2009-05-13 05:45:26 +01:00
|
|
|
{% extends "cavebase.html" %}
|
2009-05-13 05:46:12 +01:00
|
|
|
|
2009-07-03 00:50:56 +01:00
|
|
|
|
|
|
|
{% block content %}
|
2011-07-11 00:15:59 +01:00
|
|
|
{% block contentheader %}
|
|
|
|
<table id="cavepage">
|
|
|
|
<tr>
|
|
|
|
<th id="kat_no">
|
|
|
|
{% if cave.kataster_number %}
|
|
|
|
{{ cave.kataster_number|safe }}
|
|
|
|
{% if cave.entrancelist %}
|
|
|
|
- {{ cave.entrancelist|safe }}
|
|
|
|
{% endif %}
|
|
|
|
{% if cave.unofficial_number %}
|
|
|
|
<br />({{ cave.unofficial_number|safe }})
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</th>
|
|
|
|
<th id="name">
|
|
|
|
{{ cave.official_name|safe }}
|
|
|
|
</th>
|
|
|
|
<th id="status">
|
|
|
|
{{ cave.kataster_code|safe }}
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
{% block related %}
|
|
|
|
{% endblock %}{% endblock %}
|
2009-05-13 05:46:12 +01:00
|
|
|
|
2011-07-11 00:15:59 +01:00
|
|
|
<div id="tabs">
|
|
|
|
<ul>
|
|
|
|
<li><a href="#entrances">Entrances</a></li>
|
|
|
|
<li><a href="#cave">Cave</a></li>
|
|
|
|
<li><a href="#logbook">Logbook</a></li>
|
|
|
|
<li><a href="#qms">QMs</a></li>
|
|
|
|
</ul>
|
|
|
|
<div id="entrances">
|
|
|
|
<p>{% if cave.entrances %}
|
2009-05-13 05:13:38 +01:00
|
|
|
<h2>Entrances</h2>
|
|
|
|
{% for ent in cave.entrances %}
|
2011-07-11 00:15:59 +01:00
|
|
|
<a href = "./{{ ent.entrance_letter|safe }}">{{ ent.entrance_letter|safe }}</a>
|
2009-05-13 05:13:38 +01:00
|
|
|
{% if ent.entrance.marking %}
|
2011-07-11 00:15:59 +01:00
|
|
|
Marking: {{ ent.entrance.marking_val|safe }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
<br>
|
|
|
|
{% endfor %}
|
2011-07-11 00:15:59 +01:00
|
|
|
{% endif %}</p>
|
|
|
|
</div>
|
|
|
|
<div id="cave">
|
|
|
|
<p>{% if cave.explorers %}
|
2009-05-13 05:13:38 +01:00
|
|
|
<h2>Explorers</h2>
|
2011-07-11 00:15:59 +01:00
|
|
|
{{ cave.explorers|safe }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if cave.underground_description %}
|
|
|
|
<h2>Underground Description</h2>
|
2011-07-11 00:15:59 +01:00
|
|
|
{{ cave.underground_description|safe }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if cave.equipment %}
|
|
|
|
<h2>Equipment</h2>
|
2011-07-11 00:15:59 +01:00
|
|
|
{{ cave.equipment|safe }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if cave.references %}
|
|
|
|
<h2>References</h2>
|
2011-07-11 00:15:59 +01:00
|
|
|
{{ cave.references|safe }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if cave.survey %}
|
|
|
|
<h2>Survey</h2>
|
2011-07-11 00:15:59 +01:00
|
|
|
{{ cave.survey|safe }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if cave.kataster_status %}
|
|
|
|
<h2>Kataster_status</h2>
|
2011-07-11 00:15:59 +01:00
|
|
|
{{ cave.kataster_status|safe }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if cave.underground_centre_line %}
|
|
|
|
<h2>Underground Centre Line</h2>
|
2011-07-11 00:15:59 +01:00
|
|
|
{{ cave.underground_centre_line|safe }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if cave.survex_file %}
|
|
|
|
<h2>Survex File</h2>
|
2011-07-11 00:15:59 +01:00
|
|
|
{{ cave.survex_file|safe }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if cave.notes %}
|
|
|
|
<h2>Notes</h2>
|
2011-07-11 00:15:59 +01:00
|
|
|
{{ cave.notes|safe }}
|
|
|
|
{% endif %}</p>
|
|
|
|
</div>
|
|
|
|
<div id="logbook">
|
|
|
|
<p>
|
|
|
|
<table>
|
|
|
|
{% for logbookentry in cave.logbookentry_set.all %}
|
|
|
|
{% if logbookentry.title %}
|
|
|
|
<tr>
|
|
|
|
<td>{{logbookentry.date}}</td>
|
|
|
|
<td><a href="{{ logbookentry.get_absolute_url }}">{{logbookentry.title|safe}}</a></td>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div id="qms">
|
|
|
|
<p>{% if cave.get_QMs %}
|
2009-05-13 05:59:40 +01:00
|
|
|
<h2>Question marks</h2>
|
|
|
|
<h3>Extant</h3>
|
2009-05-13 06:22:07 +01:00
|
|
|
<ul id="cavelist">
|
2009-05-13 05:59:40 +01:00
|
|
|
{% for QM in cave.get_QMs %}
|
|
|
|
{% if QM.ticked_off_by %}
|
|
|
|
{% else %}
|
|
|
|
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
<h3>Ticked off</h3>
|
|
|
|
<ul>
|
|
|
|
{% for QM in cave.get_QMs %}
|
|
|
|
{% if QM.ticked_off_by %}
|
|
|
|
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2011-07-11 00:15:59 +01:00
|
|
|
{% endif %}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2009-05-13 05:22:14 +01:00
|
|
|
{% endblock %}
|