diff options
Diffstat (limited to 'templates/cave_debug.html')
-rw-r--r-- | templates/cave_debug.html | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/templates/cave_debug.html b/templates/cave_debug.html index ce598ea..fe6e4cd 100644 --- a/templates/cave_debug.html +++ b/templates/cave_debug.html @@ -5,14 +5,15 @@ {% block content %} -<h2 id="cmult">Entrances</h2> -<p>These are Entrances read from the <var>expoweb/entrance_data/*.html</var> files. These are NOT the *entrance data points in the survex files. +<h2>Entrances</h2> +<p>These are Entrances read from the <var>expoweb/entrance_data/*.html</var> files. +These are NOT the *entrance data points in the survex files. <table> <tr><th>entrance</th> <th>ent slug</th> <th>Best station </th> <th>Location</th> -<<th>Bearings</th> +<th>Bearings</th> </tr> {% for ent in ents %} {% if ent.bearings %} @@ -37,5 +38,26 @@ {% endfor %} </table> +<h2>Caves with a specific field set</h2> +<table> +<tr><th>Cave</th> +<th>slug</th> +<th>underground_centre_line</th> +</tr> +{% for c in caves%} +{% if c.underground_centre_line %} +<tr> + <td> + {{c}} + </td> + <td> + <a href="{{c.url}}">{{c.slug}}</a> + </td> + <td> + {{c.underground_centre_line|safe}} + </td> +{% endif %} +{% endfor %} +</table> {% endblock %} |