summaryrefslogtreecommitdiffstats
path: root/templates/packages
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/packages
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/packages')
-rw-r--r--templates/packages/signoffs.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html
index baf8533..a8aa4de 100644
--- a/templates/packages/signoffs.html
+++ b/templates/packages/signoffs.html
@@ -35,8 +35,8 @@
<td>{{ pkg.full_version }}</td>
<td>{{ pkg.last_update|date }}</td>
<td>{{ group.target_repo }}</td>
- <td class="signoff-{{group.approved|yesno}}">
- {{ group.approved|yesno:"Yes,No" }}</td>
+ <td class="signoff-{{ group.approved|yesno }}">
+ {{ group.approved|yesno|capfirst }}</td>
<td>
<ul>
<li><a class="signoff-link" href="{{ pkg.get_absolute_url }}signoff/"