diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-23 20:09:38 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-23 20:09:38 -0500 |
commit | 8e10699d53281be53c88a3695de6aa496e084dc6 (patch) | |
tree | c3dc570d663153f2a54fb92b0c5be04949b72515 /templates/releng/result_section.html | |
parent | 90e08b4863dfaecafee5b151478bda4513b12e85 (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/releng/result_section.html')
-rw-r--r-- | templates/releng/result_section.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/releng/result_section.html b/templates/releng/result_section.html index 08e46fb7..c82a5532 100644 --- a/templates/releng/result_section.html +++ b/templates/releng/result_section.html @@ -1,3 +1,4 @@ +{% load url from future %} <tr> <th>{% if option.is_rollback %}Rollback: {% endif %}{{ option.name|title }}</td> <th>Last Success</th> @@ -6,20 +7,20 @@ {% for item in option.values %} <tr> <td> - <a href="{% url releng-results-for option.name|lower item.value.pk %}"> + <a href="{% url 'releng-results-for' option.name|lower item.value.pk %}"> {{ item.value.name|lower }} </a> </td> <td> {% if item.success %} - <a href="{% url releng-results-iso item.success.pk %}"> + <a href="{% url 'releng-results-iso' item.success.pk %}"> {{ item.success.name }} </a> {% else %}Never succeeded{% endif %} </td> <td> {% if item.failure %} - <a href="{% url releng-results-iso item.failure.pk %}"> + <a href="{% url 'releng-results-iso' item.failure.pk %}"> {{ item.failure.name }} </a> {% else %}Never failed{% endif %} |