[svn] Brief code cleanup.

This commit is contained in:
substantialnoninfringinguser
2009-07-03 05:31:49 +01:00
parent dc19150eba
commit 8446047ab2
17 changed files with 126 additions and 207 deletions

View File

@@ -47,6 +47,10 @@
<div id="related">
{% block related %}
<script language="javascript">
$('#related').remove()
/*This is a hack to stop a line appearing because of the empty div border*/
</script>
{% endblock %}
</div>

View File

@@ -1,23 +0,0 @@
{% 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 %}