summaryrefslogtreecommitdiffstats
path: root/templates/mirrors/mirrors.html
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/mirrors/mirrors.html
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/mirrors/mirrors.html')
-rw-r--r--templates/mirrors/mirrors.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/mirrors/mirrors.html b/templates/mirrors/mirrors.html
index ee76acb..bf35608 100644
--- a/templates/mirrors/mirrors.html
+++ b/templates/mirrors/mirrors.html
@@ -27,11 +27,11 @@
title="Mirror details for {{ mirror.name }}">{{ mirror.name }}</a></td>
<td>{{mirror.get_tier_display}}</td>
<td>{{mirror.country}}</td>
- <td>{{mirror.isos|yesno}}</td>
+ <td>{{mirror.isos|yesno|capfirst}}</td>
<td class="wrap">{{mirror.supported_protocols|join:", "}}</td>
{% if user.is_authenticated %}
- <td>{{mirror.public|yesno}}</td>
- <td>{{mirror.active|yesno}}</td>
+ <td>{{mirror.public|yesno|capfirst}}</td>
+ <td>{{mirror.active|yesno|capfirst}}</td>
<td>{{mirror.admin_email}}</td>
<td class="wrap">{{mirror.notes|linebreaks}}</td>
{% endif %}