diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-23 14:05:08 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-23 14:05:08 +0100 |
commit | dd34b1096c39feb322ca241f80e876c711d3929b (patch) | |
tree | c391a3149d93c2aae46cd8da2d3c8423ec56e697 /templates/web | |
parent | f0f863865a270d9a508e8c3c273a31764555e60f (diff) | |
parent | d217e9be67c0f552924773858ede5ee3f7fc88e4 (diff) |
Merge branch 'speeed-up-reports'
Diffstat (limited to 'templates/web')
-rw-r--r-- | templates/web/base/report/_item.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/_item.html b/templates/web/base/report/_item.html index a892086ca..153fbf58e 100644 --- a/templates/web/base/report/_item.html +++ b/templates/web/base/report/_item.html @@ -43,7 +43,7 @@ <span class="item-list__item__state">[% loc('Fixed') %]</span> [% ELSIF NOT no_fixed AND problem.is_closed %] <span class="item-list__item__state">[% loc('Closed') %]</span> - [% ELSIF problem.response_priority AND (c.user.has_permission_to('report_edit_priority', problem.bodies_str_ids) OR c.user.has_permission_to('report_inspect', problem.bodies_str_ids)) %] + [% ELSIF (c.user.has_permission_to('report_edit_priority', problem.bodies_str_ids) OR c.user.has_permission_to('report_inspect', problem.bodies_str_ids)) AND problem.response_priority %] <span class="item-list__item__state">[% problem.response_priority.name %]</span> [% END %] [%- IF c.cobrand.moniker != 'fixamingata' %] [%# Default: %] |