From a52c2744bf3b532f3f02ce45ae9d902706f9f518 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 17 Aug 2011 16:16:32 -0500 Subject: Add capfirst filter to yesno usage in templates Signed-off-by: Dan McGee --- templates/releng/iso_overview.html | 12 +++--------- templates/releng/result_list.html | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'templates/releng') 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 @@ {{ iso.name }} - - {{ iso.active|yesno }} - - - {{ iso.successes }} - - - {{ iso.failures }} - + {{ iso.active|yesno|capfirst }} + {{ iso.successes }} + {{ iso.failures }} {% endfor %} 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 @@ {{ test.user_name }} {{ test.created|date }} {{ test.architecture }} - {{ test.success|yesno }} + {{ test.success|yesno|capfirst }} {% endfor %} -- cgit v1.2.3-24-g4f1b