diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-03 05:31:49 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-03 05:31:49 +0100 |
commit | 83fa1ea9ac9087bb895e5e85586e040522723b3e (patch) | |
tree | c628965e59a5b7074bf8246dc66e1e8df9faa507 /templates | |
parent | 88aec344c4b4854a0af6fcabf6a8a354b9eb2f28 (diff) | |
download | troggle-83fa1ea9ac9087bb895e5e85586e040522723b3e.tar.gz troggle-83fa1ea9ac9087bb895e5e85586e040522723b3e.tar.bz2 troggle-83fa1ea9ac9087bb895e5e85586e040522723b3e.zip |
[svn] Brief code cleanup.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 4 | ||||
-rw-r--r-- | templates/cavesearch.html | 23 |
2 files changed, 4 insertions, 23 deletions
diff --git a/templates/base.html b/templates/base.html index 9813c7e..5be9d0f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -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>
diff --git a/templates/cavesearch.html b/templates/cavesearch.html deleted file mode 100644 index a555b44..0000000 --- a/templates/cavesearch.html +++ /dev/null @@ -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 %}
\ No newline at end of file |