diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-16 22:05:52 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-10 11:30:41 +0100 |
commit | cc3e99fa9878bfb722e61d4a09d94839b152c5b7 (patch) | |
tree | aa273efab59cb60c6c0edc37de9b7665aa49b27d /templates/web/base/admin/problem_row.html | |
parent | fe4153e367bcbb74eebed9c8ac0126d94709506c (diff) |
Set up translatable category columns.
As category is used both for display and as a link between Problem and
Contact tables, add `category_display` for use whenever a category is
displayed.
Diffstat (limited to 'templates/web/base/admin/problem_row.html')
-rw-r--r-- | templates/web/base/admin/problem_row.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/admin/problem_row.html b/templates/web/base/admin/problem_row.html index e7e18dee9..def6ce60f 100644 --- a/templates/web/base/admin/problem_row.html +++ b/templates/web/base/admin/problem_row.html @@ -20,7 +20,7 @@ <br>[% loc('Anonymous') %]: [% IF problem.anonymous %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %] </td> <td> - [% PROCESS value_or_nbsp value=problem.category %] + [% PROCESS value_or_nbsp value=problem.category_display %] <br>[%- IF edit_body_contacts -%] [% FOR body IN problem.bodies.values %] <a href="[% c.uri_for('body', body.id ) %]">[% PROCESS value_or_nbsp value=body.name %]</a> |