diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-23 20:19:34 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-23 20:19:34 -0500 |
commit | 822898e57bc6d4e008ef58da309857e9ef8c98e6 (patch) | |
tree | 1af0836c927b87e2249628d47cdfefe77c3b18fd /templates/packages | |
parent | ea87160c397fe1daf63851f0ed0be146bea79196 (diff) | |
parent | 8e10699d53281be53c88a3695de6aa496e084dc6 (diff) |
Merge branch 'django14'
Conflicts:
templates/releng/result_section.html
Diffstat (limited to 'templates/packages')
-rw-r--r-- | templates/packages/search.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html index ae67b184..030f2671 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 %} |