summaryrefslogtreecommitdiffstats
path: root/templates/visualize
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-24 02:09:38 +0100
committerDan McGee <dan@archlinux.org>2012-03-24 02:09:38 +0100
commit8e10699d53281be53c88a3695de6aa496e084dc6 (patch)
treec3dc570d663153f2a54fb92b0c5be04949b72515 /templates/visualize
parent90e08b4863dfaecafee5b151478bda4513b12e85 (diff)
downloadarchweb-8e10699d53281be53c88a3695de6aa496e084dc6.tar.gz
archweb-8e10699d53281be53c88a3695de6aa496e084dc6.tar.xz
Use 'url from future' everywhere
The old-style url template tag disappears in Django 1.5, so we can and should convert to the new-style tag now. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/visualize')
-rw-r--r--templates/visualize/index.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/visualize/index.html b/templates/visualize/index.html
index a7727b1..a7855eb 100644
--- a/templates/visualize/index.html
+++ b/templates/visualize/index.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load url from future %}
{% block title %}Arch Linux - Visualizations{% endblock %}
@@ -34,11 +35,11 @@
<script type="text/javascript">
$(document).ready(function() {
var orderings = {
- "repo": { url: "{% url visualize-byrepo %}", color_attr: "repo" },
- "arch": { url: "{% url visualize-byarch %}", color_attr: "arch" },
+ "repo": { url: "{% url 'visualize-byrepo' %}", color_attr: "repo" },
+ "arch": { url: "{% url 'visualize-byarch' %}", color_attr: "arch" },
};
packages_treemap("#visualize-archrepo", orderings, "repo");
- developer_keys("#visualize-keys", "{% url visualize-pgp_keys %}");
+ developer_keys("#visualize-keys", "{% url 'visualize-pgp_keys' %}");
});
</script>
{% endblock %}