diff options
author | Struan Donald <struan@exo.org.uk> | 2017-08-14 15:56:20 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2017-08-14 16:16:01 +0100 |
commit | 55ce7d174aa2638f9f8b0053ca823368149a9105 (patch) | |
tree | 713874c31129accb19e33f26de913dc1ef4709a4 /templates | |
parent | caf8c95af8d2faed142eb50662ec926137db434f (diff) |
translate report template category names in controller
We can't translate them in the template as we're just passing in the
category name and not the object.
Fixes mysociety/fixmystreetforcouncils#216
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/admin/category-checkboxes.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/admin/category-checkboxes.html b/templates/web/base/admin/category-checkboxes.html index 9d5ab17ea..63acd4112 100644 --- a/templates/web/base/admin/category-checkboxes.html +++ b/templates/web/base/admin/category-checkboxes.html @@ -11,7 +11,7 @@ <li> <label> <input type="checkbox" name="contacts[[% contact.id %]]" [% 'checked' IF contact.active %]/> - [% contact.category_display %] + [% contact.category %] </label> </li> [% END %] |