summaryrefslogtreecommitdiffstats
path: root/templates/cave.html
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:13:38 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:13:38 +0100
commitb503d3d588474cc41bffc01eca7654bb8c6f4a42 (patch)
tree782956fc07f18a13ae24fc0c045e970c6ba03f04 /templates/cave.html
downloadtroggle-b503d3d588474cc41bffc01eca7654bb8c6f4a42.tar.gz
troggle-b503d3d588474cc41bffc01eca7654bb8c6f4a42.tar.bz2
troggle-b503d3d588474cc41bffc01eca7654bb8c6f4a42.zip
[svn] Initial troggle checkin
This is a development site using Django 1.0 Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8034 by julian @ 10/26/2008 9:04 PM
Diffstat (limited to 'templates/cave.html')
-rw-r--r--templates/cave.html76
1 files changed, 76 insertions, 0 deletions
diff --git a/templates/cave.html b/templates/cave.html
new file mode 100644
index 0000000..a043e7f
--- /dev/null
+++ b/templates/cave.html
@@ -0,0 +1,76 @@
+{% extends "base.html" %}
+{% load wiki_markup %}
+
+{% block title %}{{ cave.official_name|wiki_to_html }}{% endblock %}
+
+{% block content %}
+<table id="cavepage">
+<tr>
+ <th id="kat_no">
+ {% if cave.kataster_number %}
+ {{ cave.kataster_number|wiki_to_html }}
+ {% if cave.entrancelist %}
+ - {{ cave.entrancelist|wiki_to_html }}
+ {% endif %}
+ {% if cave.unofficial_number %}
+ <br />({{ cave.unofficial_number|wiki_to_html }})
+ {% endif %}
+ {% endif %}
+ </th>
+ <th id="name">
+ {{ cave.official_name|wiki_to_html }}
+ </th>
+ <th id="status">
+ {{ cave.kataster_code|wiki_to_html }}
+ </th>
+</tr>
+</table>
+
+{% if cave.entrances %}
+ <h2>Entrances</h2>
+ {% for ent in cave.entrances %}
+ <a href = "./{{ ent.entrance_letter|wiki_to_html }}">{{ ent.entrance_letter|wiki_to_html }}</a>
+ {% if ent.entrance.marking %}
+ Marking: {{ ent.entrance.marking_val|wiki_to_html }}
+ {% 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 %}
+{% endblock %} \ No newline at end of file