summaryrefslogtreecommitdiffstats
path: root/templates/packages/stale_relations.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-24 18:37:19 +0100
committerDan McGee <dan@archlinux.org>2012-03-24 18:37:19 +0100
commit3e2e4d4ef8910351910d633d17f8b4e9c0ea4c74 (patch)
treec86627fe731dfff5177386d126d3bb7da2ce0444 /templates/packages/stale_relations.html
parent024fd1b2843d2abd0094faedfbc49e1d1a21edd0 (diff)
downloadarchweb-3e2e4d4ef8910351910d633d17f8b4e9c0ea4c74.tar.gz
archweb-3e2e4d4ef8910351910d633d17f8b4e9c0ea4c74.tar.xz
Convert STATIC_URL usage to {% static %} template tag
This is a lot more flexible and will allow more than just simple prefixing of the static file resources. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/stale_relations.html')
-rw-r--r--templates/packages/stale_relations.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/packages/stale_relations.html b/templates/packages/stale_relations.html
index 80e912c..df469e7 100644
--- a/templates/packages/stale_relations.html
+++ b/templates/packages/stale_relations.html
@@ -1,4 +1,6 @@
{% extends "base.html" %}
+{% load static from staticfiles %}
+
{% block title %}Arch Linux - Stale Package Relations{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
@@ -106,8 +108,8 @@
</div>
{% load cdn %}{% jquery %}
-<script type="text/javascript" src="{{ STATIC_URL }}jquery.tablesorter.min.js"></script>
-<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script>
+<script type="text/javascript" src="{% static "jquery.tablesorter.min.js" %}"></script>
+<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#inactive-user:not(:has(tbody tr.empty))').tablesorter({widgets: ['zebra'], headers: { 0: { sorter: false } }, sortList: [[3,0]]});