summaryrefslogtreecommitdiffstats
path: root/templates/cavesearch.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/cavesearch.html')
-rw-r--r--templates/cavesearch.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/cavesearch.html b/templates/cavesearch.html
new file mode 100644
index 0000000..a555b44
--- /dev/null
+++ b/templates/cavesearch.html
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+{% load wiki_markup %}
+{% block title %}
+Cave search results for "{{ query_string }}"
+{% endblock%}
+
+{% block content %}
+
+<h1> Troggle cave search </h1>
+
+Your search string, <b>{{ query_string }}</b>,
+
+{% if found_entries %}
+ was found in the following <b>{{found_entries.count}}</b> cave underground descriptions and / or official names:
+ <ul>
+ {% for cave in found_entries %}
+ <li><a href="{{ settings.URL_ROOT }}cave/{{ cave.kataster_number }}">{{ cave|wiki_to_html_short }} : {{cave.official_name|wiki_to_html_short }}</a></li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ was not found in any cave underground descriptions and / or official names. Please try again.
+ {% endif %}
+{% endblock %} \ No newline at end of file