summaryrefslogtreecommitdiffstats
path: root/templates/packages/search.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-24 02:19:34 +0100
committerDan McGee <dan@archlinux.org>2012-03-24 02:19:34 +0100
commit822898e57bc6d4e008ef58da309857e9ef8c98e6 (patch)
tree1af0836c927b87e2249628d47cdfefe77c3b18fd /templates/packages/search.html
parentea87160c397fe1daf63851f0ed0be146bea79196 (diff)
parent8e10699d53281be53c88a3695de6aa496e084dc6 (diff)
downloadarchweb-822898e57bc6d4e008ef58da309857e9ef8c98e6.tar.gz
archweb-822898e57bc6d4e008ef58da309857e9ef8c98e6.tar.xz
Merge branch 'django14'
Conflicts: templates/releng/result_section.html
Diffstat (limited to 'templates/packages/search.html')
-rw-r--r--templates/packages/search.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index ae67b18..030f267 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -1,13 +1,13 @@
{% extends "base.html" %}
{% load package_extras %}
-{% load adminmedia %}
+{% load admin_static %}
{% block title %}Arch Linux - Package Database{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
{% block head %}
{% if is_paginated and page_obj.number > 1 %}<meta name="robots" content="noindex, nofollow"/>{% endif %}
-<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/widgets.css" />
+<link rel="stylesheet" type="text/css" href="{% static "admin/css/widgets.css" %}" />
{% endblock %}
{% block content %}
@@ -126,8 +126,12 @@
title="AUR package database">Arch User Repository (AUR).</a></p>
</div>
+{% load cdn %}{% jquery %}
<script type="text/javascript" src="/jsi18n/"></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>
+<script type="text/javascript">
+ window.__admin_media_prefix__ = "{% filter escapejs %}{% static "admin/" %}{% endfilter %}";
+ var django = {"jQuery": jQuery};
+</script>
+<script type="text/javascript" src="{% static "admin/js/core.js" %}"></script>
{{search_form.media}}
{% endblock %}