summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-10-19 11:04:42 -0500
committerDan McGee <dan@archlinux.org>2011-10-19 11:04:42 -0500
commite31d7f864ddfbce49eda91aa01654b76dcd009b9 (patch)
treecbf56e597642ee3e56be8782afdaf6c1bddc6c82 /templates/packages
parent23020b33a0f8bf48c76d82726f143a09fca0fd1f (diff)
Use admin_media_prefix helper everywhere in search template
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/search.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index 4744aa88..800b883d 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -1,10 +1,12 @@
{% extends "base.html" %}
{% load package_extras %}
+{% load adminmedia %}
+
{% block title %}Arch Linux - Package Database{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
{% block head %}
-<link rel="stylesheet" type="text/css" href="/media/admin_media/css/widgets.css" />
+<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/widgets.css" />
{% endblock %}
{% block content %}
@@ -170,7 +172,7 @@
</div>
<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>
+<script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script>
{{search_form.media}}
{% endblock %}