diff options
author | Martin Green <martin.speleo@gmail.com> | 2012-05-23 09:23:40 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2012-05-23 09:23:40 +0100 |
commit | 52620ea1c58d80387eb2e19b45228ada393f4701 (patch) | |
tree | 76fcaaada4ef37f09ba78845e11b8d638c9d7788 /templates | |
parent | 599c59454a12a0cc4f9c7b0d88a5c1d8e054d2f2 (diff) | |
download | troggle-52620ea1c58d80387eb2e19b45228ada393f4701.tar.gz troggle-52620ea1c58d80387eb2e19b45228ada393f4701.tar.bz2 troggle-52620ea1c58d80387eb2e19b45228ada393f4701.zip |
Editing for entrances along with caves
More detailed display of entrances
Diffstat (limited to 'templates')
-rw-r--r-- | templates/cave_entrances.html | 58 |
1 files changed, 55 insertions, 3 deletions
diff --git a/templates/cave_entrances.html b/templates/cave_entrances.html index dbd450d..e871e41 100644 --- a/templates/cave_entrances.html +++ b/templates/cave_entrances.html @@ -1,12 +1,64 @@ <div id="entrances"> <p>{% if cave.entrances %} <h2>Entrances</h2> + <ul> {% for ent in cave.entrances %} - <a href = "./{{ ent.entrance_letter|safe }}">{{ ent.entrance_letter|safe }}</a> + <li> + {{ ent.entrance_letter|safe }} + {% if ent.entrance.name %} + {{ ent.entrance.name|safe }} + {% endif %} + <dl> {% if ent.entrance.marking %} - Marking: {{ ent.entrance.marking_val|safe }} + <dt>Marking</dt><dd>{{ ent.entrance.marking_val|safe }}</dd> {% endif %} - <br> + {% 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 %} + <dt>Location</dt><dd>{{ ent.entrance.northing|safe }}, {{ ent.entrance.easting|safe }}, {{ ent.entrance.alt|safe }}m</</dd> + {% endif %} + {% if ent.entrance.tag_station %} + <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> + {% endif %} + {% if ent.entrance.bearings %} + <dt>Bearings</dt><dd>{{ ent.entrance.bearings|safe }}</dd> + {% endif %} + + {{ ent.entrance.tag_station|safe }} + {{ ent.entrance.exact_station|safe }} + {{ ent.entrance.other_station|safe }} + {{ ent.entrance.other_description|safe }} + </dl> + </li> {% endfor %} + </ul> {% endif %}</p> </div> |