troggle-unchained/templates/caveindex.html

48 lines
1.1 KiB
HTML
Raw Normal View History

2011-07-11 02:10:22 +01:00
{% extends "cavebase.html" %}
{% load wiki_markup %}
{% block title %}Cave Index{% endblock %}
{% block content %}
<h1>Cave Index</h1>
2019-02-25 23:40:53 +00:00
<p>{{ newfield }}</p>
2019-02-25 23:46:52 +00:00
Testing 123, Testing 123
2019-02-25 23:51:26 +00:00
{% for cave in newfield %}
bla
{% endfor %}
Testing 123
2019-02-25 23:46:52 +00:00
2011-07-11 02:10:22 +01:00
<h3>Notable caves</h3>
<ul>
{% for cave in notablecaves %}
<li> <a href="{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }}{% else %}{{cave.unofficial_number }}{%endif %} {{cave.official_name|safe}}</a> </li>
2011-07-11 02:10:22 +01:00
{% endfor %}
</ul>
<h3>1623</h3>
2019-02-25 20:58:32 +00:00
<table class="searchable">
2011-07-11 02:10:22 +01:00
{% for cave in caves1623 %}
2019-02-25 20:58:32 +00:00
<tr><td> <a href="{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }}{% else %}{{cave.unofficial_number }}{%endif %} {{cave.official_name|safe}}</a> </td></tr>
2011-07-11 02:10:22 +01:00
{% endfor %}
2019-02-25 20:58:32 +00:00
</table>
2011-07-11 02:10:22 +01:00
<h3>1626</h3>
<ul class="searchable">
{% for cave in caves1626 %}
<li> <a href="{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }}{% else %}{{cave.unofficial_number }}{%endif %} {{cave.official_name|safe}}</a> </li>
2011-07-11 02:10:22 +01:00
{% endfor %}
</ul>
<a href="{% url "newcave" %}">New Cave</a>
2011-07-11 02:10:22 +01:00
{% endblock %}