troggle-unchained/templates/entrance.html
2021-04-30 22:44:03 +01:00

78 lines
2.1 KiB
HTML

{% extends "base.html" %}
{% block title %}{{ cave.official_name|safe }} - {{ entrance_letter|safe }}{% endblock %}
{% block content %}
<table id="cavepage">
<tr>
<th id="kat_no">
{% if cave.kataster_number %}
{{ cave.kataster_number|safe }}{{ letter|safe }}
{% if cave.unofficial_number %}
<br />({{ cave.unofficial_number|safe }})
{% endif %}
{% endif %}
</th>
<th id="name">
{% if entrance.name %}
{{ entrance.name|safe }}
{% else %}
Unnamed
{% endif %} - {{ cave.official_name|safe }}
</th>
<th id="status">
{{ cave.kataster_code|safe }}
</th>
</tr>
</table>
{% if entrance.entrance_description %}
<h2>Entrance Description</h2>
{{ entrance.entrance_description|safe }}
{% endif %}
{% if entrance.explorers %}
<h2>Explorers</h2>
{{ entrance.explorers|safe }}
{% endif %}
{% if entrance.map_description %}
<h2>Map</h2>
{{ entrance.map_description|safe }}
{% endif %}
{% if entrance.explorers %}
<h2>Entrance Description</h2>
{{ entrance.entrance_description|safe }}
{% endif %}
{% if entrance.location_description %}
<h2>Location Description</h2>
{{ entrance.location_description|safe }}
{% endif %}
{% if entrance.approach %}
<h2>Approach</h2>
{{ entrance.approach|safe }}
{% endif %}
{% if entrance.underground_description %}
<h2>Underground Description</h2>
{{ entrance.underground_description|safe }}
{% endif %}
{% if entrance.photo %}
<h2>Photo</h2>
{{ entrance.photo|safe }}
{% endif %}
{% if entrance.marking %}
<h2>Marking - {{ entrance.marking_val|safe }}</h2>
{% if entrance.marking_comment %}
{{ entrance.marking_comment|safe }}
{% endif %}
{% endif %}
{% if entrance.findability %}
<h2>Findability - {{ entrance.findability_val|safe }}</h2>
{% if entrance.findability_description %}
{{ entrance.findability_description|safe }}
{% endif %}
{% endif %}
{% if entrance.bearings %}
<h2>Bearings</h2>
{{ entrance.bearings|safe }}
{% endif %}
{% endblock %}