aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-23 14:05:08 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-23 14:05:08 +0100
commitdd34b1096c39feb322ca241f80e876c711d3929b (patch)
treec391a3149d93c2aae46cd8da2d3c8423ec56e697 /templates/web
parentf0f863865a270d9a508e8c3c273a31764555e60f (diff)
parentd217e9be67c0f552924773858ede5ee3f7fc88e4 (diff)
Merge branch 'speeed-up-reports'
Diffstat (limited to 'templates/web')
-rw-r--r--templates/web/base/report/_item.html2
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: %]