summaryrefslogtreecommitdiffstats
path: root/templates/releng/result_section.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/releng/result_section.html')
-rw-r--r--templates/releng/result_section.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/releng/result_section.html b/templates/releng/result_section.html
index e9375cd..45838b8 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>
@@ -7,19 +8,20 @@
<tr>
<td>
<a href="{% url releng-results-for option.field_name item.value.pk %}">
+ <a href="{% url 'releng-results-for' option.field_name 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 %}