forked from expo/troggle
ffb5d7bdda
url in templates now requires quotes roung the first arg USE_TZ added
40 lines
974 B
HTML
40 lines
974 B
HTML
{% extends "cavebase.html" %}
|
|
{% load wiki_markup %}
|
|
|
|
{% block title %}Cave Index{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>Cave Index</h1>
|
|
|
|
<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>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<h3>1623</h3>
|
|
|
|
<ul class="searchable">
|
|
{% for cave in caves1623 %}
|
|
|
|
<li> <a href="{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }}{% else %}{{cave.unofficial_number }}{%endif %} {{cave.official_name|safe}}</a> </li>
|
|
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<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>
|
|
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<a href="{% url "newcave" %}">New Cave</a>
|
|
|
|
{% endblock %}
|