summaryrefslogtreecommitdiff
path: root/templates/visualize/index.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-23 20:09:38 -0500
committerDan McGee <dan@archlinux.org>2012-03-23 20:09:38 -0500
commit8e10699d53281be53c88a3695de6aa496e084dc6 (patch)
treec3dc570d663153f2a54fb92b0c5be04949b72515 /templates/visualize/index.html
parent90e08b4863dfaecafee5b151478bda4513b12e85 (diff)
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/index.html')
-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 a7727b1f..a7855eb2 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 %}