summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-20 21:26:38 -0500
committerDan McGee <dan@archlinux.org>2010-06-20 21:26:38 -0500
commit0a3b9434165f4306a89ff270c92ea04bcc8c12ce (patch)
treee7579ecdfe17c0dd4c4de1a0c8fff8c180f8630b /templates
parent4aea4083978d91eb31463ca18d19d3c714680756 (diff)
Move scripts to bottom of package search
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/search.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index fe4d4b7a..706fe727 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -5,10 +5,6 @@
{% block head %}
<link rel="stylesheet" type="text/css" href="/media/admin_media/css/widgets.css" />
-<script type="text/javascript" src="/jsi18n/"></script>
-{% load adminmedia %}<script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script>
-<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";</script>
-{{search_form.media}}
{% endblock %}
{% block content %}
@@ -145,6 +141,7 @@
</form>
</div><!-- #pkglist-results -->
+{% endif %}
<div id="pkglist-about" class="box">
<p>You are browsing the Arch Linux package database. From here you can find
@@ -152,5 +149,9 @@
For unsupported packages, browse the <a href="http://aur.archlinux.org/"
title="AUR package database">Arch User Repository (AUR).</a></p>
</div>
-{% endif %}
+
+<script type="text/javascript" src="/jsi18n/"></script>
+{% load adminmedia %}<script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script>
+<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";</script>
+{{search_form.media}}
{% endblock %}