2011-07-11 00:50:07 +01:00
|
|
|
<div id="entrances">
|
|
|
|
<p>{% if cave.entrances %}
|
|
|
|
<h2>Entrances</h2>
|
2012-05-23 09:23:40 +01:00
|
|
|
<ul>
|
2011-07-11 00:50:07 +01:00
|
|
|
{% for ent in cave.entrances %}
|
2012-05-23 09:23:40 +01:00
|
|
|
<li>
|
|
|
|
{{ ent.entrance_letter|safe }}
|
|
|
|
{% if ent.entrance.name %}
|
|
|
|
{{ ent.entrance.name|safe }}
|
2012-08-14 21:51:15 +01:00
|
|
|
{% endif %}<a href="{% url editentrance cave.slug ent.entrance.slug %}">Edit</a>
|
2012-05-23 09:23:40 +01:00
|
|
|
<dl>
|
2011-07-11 00:50:07 +01:00
|
|
|
{% if ent.entrance.marking %}
|
2012-05-23 09:23:40 +01:00
|
|
|
<dt>Marking</dt><dd>{{ ent.entrance.marking_val|safe }}</dd>
|
2011-07-11 00:50:07 +01:00
|
|
|
{% endif %}
|
2012-05-23 09:23:40 +01:00
|
|
|
{% if ent.entrance.marking_comment %}
|
|
|
|
<dt>Marking Comment</dt><dd>{{ ent.entrance.marking_comment|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.findability %}
|
|
|
|
<dt>Findability</dt><dd>{{ ent.entrance.findability_val|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.findability_comment %}
|
|
|
|
<dt>Findability Comment</dt><dd>{{ ent.entrance.findability_comment|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.location_description %}
|
|
|
|
<dt>Location</dt><dd>{{ ent.entrance.location_description|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.approach %}
|
|
|
|
<dt>Approach</dt><dd>{{ ent.entrance.approach|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.map_description %}
|
|
|
|
<dt>Map</dt><dd>{{ ent.entrance.map_description|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.underground_description %}
|
|
|
|
<dt>Underground</dt><dd>{{ ent.entrance.underground_description|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.photo %}
|
|
|
|
<dt>Photo</dt><dd>{{ ent.entrance.photo|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.entrance_description %}
|
|
|
|
<dt>Description</dt><dd>{{ ent.entrance.entrance_description|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.explorers %}
|
|
|
|
<dt>Explorers</dt><dd>{{ ent.entrance.explorers|safe }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.northing %}
|
2012-08-05 20:37:46 +01:00
|
|
|
<dt>Location</dt><dd>{{ ent.entrance.northing|safe }}, {{ ent.entrance.easting|safe }}, {{ ent.entrance.alt|safe }}m</dd>
|
2012-05-23 09:23:40 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.tag_station %}
|
2012-08-05 20:37:46 +01:00
|
|
|
<dt>Tag Location</dt><dd>{{ ent.entrance.tag_station }}{{ ent.entrance.tag.y|safe }}, {{ ent.entrance.tag.x|safe }}, {{ ent.entrance.tag.z|safe }}m</dd>
|
2012-05-23 09:23:40 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.bearings %}
|
|
|
|
<dt>Bearings</dt><dd>{{ ent.entrance.bearings|safe }}</dd>
|
|
|
|
{% endif %}
|
2012-08-06 11:19:48 +01:00
|
|
|
{% if ent.entrance.exact_station %}
|
2012-08-14 14:08:08 +01:00
|
|
|
<dt>Exact Station</dt><dd>{{ ent.entrance.exact_station|safe }} {{ ent.exact_location.tag.y|safe }}, {{ ent.entrance.exact_location.x|safe }}, {{ ent.entrance.exact_location.z|safe }}m</dd>
|
2012-08-06 11:19:48 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if ent.entrance.other_station %}
|
|
|
|
<dt>Other Station</dt><dd>{{ ent.entrance.other_station|safe }}
|
|
|
|
{% if ent.entrance.other_description %}
|
|
|
|
- {{ ent.entrance.other_description|safe }}
|
2012-08-14 14:08:08 +01:00
|
|
|
{% endif %} {{ ent.entrance.other_location.y|safe }}, {{ ent.entrance.other_location.x|safe }}, {{ ent.entrance.other_location.z|safe }}m
|
2012-08-06 11:19:48 +01:00
|
|
|
</dd>
|
|
|
|
{% endif %}
|
2012-05-23 09:23:40 +01:00
|
|
|
</dl>
|
|
|
|
</li>
|
2011-07-11 00:50:07 +01:00
|
|
|
{% endfor %}
|
2012-05-23 09:23:40 +01:00
|
|
|
</ul>
|
2012-08-12 18:10:23 +01:00
|
|
|
|
2011-07-11 00:50:07 +01:00
|
|
|
{% endif %}</p>
|
2012-08-14 21:51:15 +01:00
|
|
|
<a href="{% url newentrance cave.slug %}">New Entrance</a>
|
2011-07-11 00:50:07 +01:00
|
|
|
</div>
|