diff options
author | Wookey <wookey@wookware.org> | 2011-07-11 23:28:23 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2011-07-11 23:28:23 +0100 |
commit | c23fcc5b063e77281dee0932ed2a38d161556d63 (patch) | |
tree | 21591516ec3d45f2c1955fad8bc2fa1acba56c9f /templates/entrance.html | |
parent | 97c388dba07c030ddc9b5638e8e2f334c734a7a8 (diff) | |
parent | 21ff3b8b5d4d4f94ea1fcafbe535d967660ed392 (diff) | |
download | troggle-c23fcc5b063e77281dee0932ed2a38d161556d63.tar.gz troggle-c23fcc5b063e77281dee0932ed2a38d161556d63.tar.bz2 troggle-c23fcc5b063e77281dee0932ed2a38d161556d63.zip |
rest of martin's changes, without reverting lineend issues
Diffstat (limited to 'templates/entrance.html')
-rw-r--r-- | templates/entrance.html | 160 |
1 files changed, 80 insertions, 80 deletions
diff --git a/templates/entrance.html b/templates/entrance.html index 7aa7fe8..29d0131 100644 --- a/templates/entrance.html +++ b/templates/entrance.html @@ -1,80 +1,80 @@ -{% extends "base.html" %}
-{% load wiki_markup %}
-
-
-{% block title %}{{ cave.official_name|wiki_to_html }} - {{ entrance_letter|wiki_to_html }}{% endblock %}
-
-{% block content %}
-<table id="cavepage">
-<tr>
- <th id="kat_no">
- {% if cave.kataster_number %}
- {{ cave.kataster_number|wiki_to_html }}{{ letter|wiki_to_html }}
- {% if cave.unofficial_number %}
- <br />({{ cave.unofficial_number|wiki_to_html }})
- {% endif %}
- {% endif %}
- </th>
- <th id="name">
- {% if entrance.name %}
- {{ entrance.name|wiki_to_html }}
- {% else %}
- Unnamed
- {% endif %} - {{ cave.official_name|wiki_to_html }}
- </th>
- <th id="status">
- {{ cave.kataster_code|wiki_to_html }}
- </th>
-</tr>
-</table>
-
-{% if entrance.entrance_description %}
- <h2>Entrance Description</h2>
- {{ entrance.entrance_description|wiki_to_html }}
-{% endif %}
-{% if entrance.explorers %}
- <h2>Explorers</h2>
- {{ entrance.explorers|wiki_to_html }}
-{% endif %}
-{% if entrance.map_description %}
- <h2>Map</h2>
- {{ entrance.map_description|wiki_to_html }}
-{% endif %}
-{% if entrance.explorers %}
- <h2>Entrance Description</h2>
- {{ entrance.entrance_description|wiki_to_html }}
-{% endif %}
-{% if entrance.location_description %}
- <h2>Location Description</h2>
- {{ entrance.location_description|wiki_to_html }}
-{% endif %}
-{% if entrance.approach %}
- <h2>Approach</h2>
- {{ entrance.approach|wiki_to_html }}
-{% endif %}
-{% if entrance.underground_description %}
- <h2>Underground Description</h2>
- {{ entrance.underground_description|wiki_to_html }}
-{% endif %}
-{% if entrance.photo %}
- <h2>Photo</h2>
- {{ entrance.photo|wiki_to_html }}
-{% endif %}
-{% if entrance.marking %}
- <h2>Marking - {{ entrance.marking_val|wiki_to_html }}</h2>
- {% if entrance.marking_comment %}
- {{ entrance.marking_comment|wiki_to_html }}
- {% endif %}
-{% endif %}
-{% if entrance.findability %}
- <h2>Findability - {{ entrance.findability_val|wiki_to_html }}</h2>
- {% if entrance.findability_description %}
- {{ entrance.findability_description|wiki_to_html }}
- {% endif %}
-{% endif %}
-{% if entrance.bearings %}
- <h2>Bearings</h2>
- {{ entrance.bearings|wiki_to_html }}
-{% endif %}
-
-{% endblock %}
+{% extends "base.html" %} +{% load wiki_markup %} + + +{% block title %}{{ cave.official_name|wiki_to_html }} - {{ entrance_letter|wiki_to_html }}{% endblock %} + +{% block content %} +<table id="cavepage"> +<tr> + <th id="kat_no"> + {% if cave.kataster_number %} + {{ cave.kataster_number|wiki_to_html }}{{ letter|wiki_to_html }} + {% if cave.unofficial_number %} + <br />({{ cave.unofficial_number|wiki_to_html }}) + {% endif %} + {% endif %} + </th> + <th id="name"> + {% if entrance.name %} + {{ entrance.name|wiki_to_html }} + {% else %} + Unnamed + {% endif %} - {{ cave.official_name|wiki_to_html }} + </th> + <th id="status"> + {{ cave.kataster_code|wiki_to_html }} + </th> +</tr> +</table> + +{% if entrance.entrance_description %} + <h2>Entrance Description</h2> + {{ entrance.entrance_description|wiki_to_html }} +{% endif %} +{% if entrance.explorers %} + <h2>Explorers</h2> + {{ entrance.explorers|wiki_to_html }} +{% endif %} +{% if entrance.map_description %} + <h2>Map</h2> + {{ entrance.map_description|wiki_to_html }} +{% endif %} +{% if entrance.explorers %} + <h2>Entrance Description</h2> + {{ entrance.entrance_description|wiki_to_html }} +{% endif %} +{% if entrance.location_description %} + <h2>Location Description</h2> + {{ entrance.location_description|wiki_to_html }} +{% endif %} +{% if entrance.approach %} + <h2>Approach</h2> + {{ entrance.approach|wiki_to_html }} +{% endif %} +{% if entrance.underground_description %} + <h2>Underground Description</h2> + {{ entrance.underground_description|wiki_to_html }} +{% endif %} +{% if entrance.photo %} + <h2>Photo</h2> + {{ entrance.photo|wiki_to_html }} +{% endif %} +{% if entrance.marking %} + <h2>Marking - {{ entrance.marking_val|wiki_to_html }}</h2> + {% if entrance.marking_comment %} + {{ entrance.marking_comment|wiki_to_html }} + {% endif %} +{% endif %} +{% if entrance.findability %} + <h2>Findability - {{ entrance.findability_val|wiki_to_html }}</h2> + {% if entrance.findability_description %} + {{ entrance.findability_description|wiki_to_html }} + {% endif %} +{% endif %} +{% if entrance.bearings %} + <h2>Bearings</h2> + {{ entrance.bearings|wiki_to_html }} +{% endif %} + +{% endblock %} |