summaryrefslogtreecommitdiffstats
path: root/templates/releng
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-17 23:16:32 +0200
committerDan McGee <dan@archlinux.org>2011-08-17 23:16:32 +0200
commita52c2744bf3b532f3f02ce45ae9d902706f9f518 (patch)
treec540955f6f7b7decf9828ec1fadc1b7fc5b428b2 /templates/releng
parent366e438ed5b6b9f2fc2651e64e3e41444fb781fb (diff)
downloadarchweb-a52c2744bf3b532f3f02ce45ae9d902706f9f518.tar.gz
archweb-a52c2744bf3b532f3f02ce45ae9d902706f9f518.tar.xz
Add capfirst filter to yesno usage in templates
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/releng')
-rw-r--r--templates/releng/iso_overview.html12
-rw-r--r--templates/releng/result_list.html2
2 files changed, 4 insertions, 10 deletions
diff --git a/templates/releng/iso_overview.html b/templates/releng/iso_overview.html
index 054e0fa..8280f10 100644
--- a/templates/releng/iso_overview.html
+++ b/templates/releng/iso_overview.html
@@ -21,15 +21,9 @@
<td>
<a href="{{ iso.get_absolute_url }}">{{ iso.name }}</a>
</td>
- <td>
- {{ iso.active|yesno }}
- </td>
- <td>
- {{ iso.successes }}
- </td>
- <td>
- {{ iso.failures }}
- </td>
+ <td>{{ iso.active|yesno|capfirst }}</td>
+ <td>{{ iso.successes }}</td>
+ <td>{{ iso.failures }}</td>
</tr>
{% endfor %}
</tbody>
diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html
index a343257..7f9ed45 100644
--- a/templates/releng/result_list.html
+++ b/templates/releng/result_list.html
@@ -26,7 +26,7 @@
<td>{{ test.user_name }}</td>
<td>{{ test.created|date }}</td>
<td>{{ test.architecture }}</td>
- <td>{{ test.success|yesno }}</td>
+ <td>{{ test.success|yesno|capfirst }}</td>
</tr>
{% endfor %}
</tbody>