aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-10-25 16:23:09 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-10-25 16:23:09 +0100
commit79781cd7ac6e3dbbd323f1d2675bb2bbdcac0ef5 (patch)
tree20959601f92845e81ef4a61a0532700922804747
parent7e2372663e93b8543d7f8f64a5e17ac151fd9ff0 (diff)
Title case filter dropdown options.
-rw-r--r--templates/web/base/reports/_list-filters.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/web/base/reports/_list-filters.html b/templates/web/base/reports/_list-filters.html
index f4fbab042..cda5a3dc2 100644
--- a/templates/web/base/reports/_list-filters.html
+++ b/templates/web/base/reports/_list-filters.html
@@ -1,14 +1,14 @@
[% select_status = BLOCK %]
- <select class="form-control" name="status" id="statuses" multiple data-all="[% loc('all reports') %]">
- <option value="open"[% ' selected' IF filter_status.open %]>[% loc('unfixed reports') %]</option>
- <option value="closed"[% ' selected' IF filter_status.closed %]>[% loc('closed reports') %]</option>
- <option value="fixed"[% ' selected' IF filter_status.fixed %]>[% loc('fixed reports') %]</option>
+ <select class="form-control" name="status" id="statuses" multiple data-all="[% loc('All reports') %]">
+ <option value="open"[% ' selected' IF filter_status.open %]>[% loc('Unfixed reports') %]</option>
+ <option value="closed"[% ' selected' IF filter_status.closed %]>[% loc('Closed reports') %]</option>
+ <option value="fixed"[% ' selected' IF filter_status.fixed %]>[% loc('Fixed reports') %]</option>
</select>
[% END %]
[% select_category = BLOCK %]
[% IF filter_categories.size %]
- <select class="form-control" name="filter_category" id="filter_categories" multiple data-all="[% loc('everything') %]">
+ <select class="form-control" name="filter_category" id="filter_categories" multiple data-all="[% loc('Everything') %]">
[% FOR cat IN filter_categories %]
<option value="[% cat | html %]"[% ' selected' IF filter_category.grep(cat).size %]>
[% cat | html %]
@@ -16,7 +16,7 @@
[% END %]
</select>
[% ELSE %]
- [% loc('everything') %]
+ [% loc('Everything') %]
[% END %]
[% END %]