aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/admin/problem_row.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-22 10:33:59 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-22 10:33:59 +0000
commit4fc0fbc8287e35d79ea65362fc3bbff3e286cc57 (patch)
tree8e9ed25efe22067f70a16b27c0ad27a1f7738961 /templates/web/zurich/admin/problem_row.html
parent19880b97cc60663494b700c3c6829111e5e17055 (diff)
Highlight overdue Zurich reports in admin interface.
Diffstat (limited to 'templates/web/zurich/admin/problem_row.html')
-rw-r--r--templates/web/zurich/admin/problem_row.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/web/zurich/admin/problem_row.html b/templates/web/zurich/admin/problem_row.html
index 176f1a1a6..617490232 100644
--- a/templates/web/zurich/admin/problem_row.html
+++ b/templates/web/zurich/admin/problem_row.html
@@ -4,7 +4,10 @@
[% NEXT IF admin_type == 'sdm' AND p_body.id != body.id %]
[% NEXT IF admin_type == 'dm' AND p_body.id != body.id AND p_body.parent.id != body.id %]
[% END %]
- <tr[% ' class="adminhidden"' IF problem.state == 'hidden' %]>
+ <tr[%
+ ' class="adminhidden"' IF problem.state == 'hidden';
+ ' class="overdue"' IF c.cobrand.overdue( problem );
+ %]>
<td class="record-id">[%- IF problem.is_visible -%]
<a href="[% c.uri_for_email( '/report', problem.id ) %]">[% problem.id %]</a>
[%- ELSE %]