2009-05-13 05:45:26 +01:00
|
|
|
{% extends "cavebase.html" %}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% load wiki_markup %}
|
2009-05-13 06:19:45 +01:00
|
|
|
{% block editLink %}| <a href={{cave.get_admin_url}}>Edit cave {{cave|wiki_to_html_short}}</a>{% endblock %}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% block content %}
|
2009-05-13 05:46:12 +01:00
|
|
|
|
|
|
|
<div id="col2">
|
2009-05-13 05:59:40 +01:00
|
|
|
<h3>All logbook entries regarding this cave ({{cave.logbookentry_set.count}})</h3>
|
2009-05-13 05:46:12 +01:00
|
|
|
<table>
|
|
|
|
{% for logbookentry in cave.logbookentry_set.all %}
|
2009-05-13 05:48:47 +01:00
|
|
|
{% if logbookentry.title %}
|
2009-05-13 05:46:12 +01:00
|
|
|
<tr>
|
|
|
|
<td>{{logbookentry.date}}</td>
|
2009-05-13 05:52:15 +01:00
|
|
|
<td><a href="{{ logbookentry.get_absolute_url }}">{{logbookentry.title|safe}}</a></td>
|
2009-05-13 05:46:12 +01:00
|
|
|
</tr>
|
2009-05-13 05:48:47 +01:00
|
|
|
{% endif %}
|
2009-05-13 05:46:12 +01:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2009-05-13 05:13:38 +01:00
|
|
|
{% if cave.entrances %}
|
|
|
|
<h2>Entrances</h2>
|
|
|
|
{% for ent in cave.entrances %}
|
2009-05-13 05:18:26 +01:00
|
|
|
<a href = "./{{ ent.entrance_letter|wiki_to_html_short }}">{{ ent.entrance_letter|wiki_to_html_short }}</a>
|
2009-05-13 05:13:38 +01:00
|
|
|
{% if ent.entrance.marking %}
|
2009-05-13 05:18:26 +01:00
|
|
|
Marking: {{ ent.entrance.marking_val|wiki_to_html_short }}
|
2009-05-13 05:13:38 +01:00
|
|
|
{% endif %}
|
|
|
|
<br>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if cave.explorers %}
|
|
|
|
<h2>Explorers</h2>
|
|
|
|
{{ cave.explorers|wiki_to_html }}
|
|
|
|
{% endif %}
|
|
|
|
{% if cave.underground_description %}
|
|
|
|
<h2>Underground Description</h2>
|
|
|
|
{{ cave.underground_description|wiki_to_html }}
|
|
|
|
{% endif %}
|
|
|
|
{% if cave.equipment %}
|
|
|
|
<h2>Equipment</h2>
|
|
|
|
{{ cave.equipment|wiki_to_html }}
|
|
|
|
{% endif %}
|
|
|
|
{% if cave.references %}
|
|
|
|
<h2>References</h2>
|
|
|
|
{{ cave.references|wiki_to_html }}
|
|
|
|
{% endif %}
|
|
|
|
{% if cave.survey %}
|
|
|
|
<h2>Survey</h2>
|
|
|
|
{{ cave.survey|wiki_to_html }}
|
|
|
|
{% endif %}
|
|
|
|
{% if cave.kataster_status %}
|
|
|
|
<h2>Kataster_status</h2>
|
|
|
|
{{ cave.kataster_status|wiki_to_html }}
|
|
|
|
{% endif %}
|
|
|
|
{% if cave.underground_centre_line %}
|
|
|
|
<h2>Underground Centre Line</h2>
|
|
|
|
{{ cave.underground_centre_line|wiki_to_html }}
|
|
|
|
{% endif %}
|
|
|
|
{% if cave.survex_file %}
|
|
|
|
<h2>Survex File</h2>
|
|
|
|
{{ cave.survex_file|wiki_to_html }}
|
|
|
|
{% endif %}
|
|
|
|
{% if cave.notes %}
|
|
|
|
<h2>Notes</h2>
|
|
|
|
{{ cave.notes|wiki_to_html }}
|
|
|
|
{% endif %}
|
2009-05-13 05:59:40 +01:00
|
|
|
|
|
|
|
{% if cave.get_QMs %}
|
|
|
|
<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>
|
|
|
|
{% endif %}
|
2009-05-13 05:22:14 +01:00
|
|
|
{% endblock %}
|