aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-11-25 18:08:57 +0000
committerMatthew Somerville <matthew@mysociety.org>2011-11-25 18:08:57 +0000
commit4cac8cc440c454549ca40a932ce4389866fa98a6 (patch)
tree567f92c3ab79a58847ecdefb13701b8f126d36b4
parentd2917593cafcb6906a8ee02b2612fa9f2e8c7527 (diff)
Grey out updates that have had their report hidden.
-rw-r--r--templates/web/default/admin/list_updates.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/default/admin/list_updates.html b/templates/web/default/admin/list_updates.html
index 4f27b9595..dbb49df01 100644
--- a/templates/web/default/admin/list_updates.html
+++ b/templates/web/default/admin/list_updates.html
@@ -15,7 +15,7 @@
<th>*</th>
</tr>
[% FOREACH update IN updates -%]
- <tr[% ' class="hidden"' IF update.state == 'hidden' || ( problem.state && problem.state == 'hidden' ) %]>
+ <tr[% ' class="hidden"' IF update.state == 'hidden' || update.problem.state == 'hidden' %]>
<td>[%- IF update.state == 'confirmed' -%]
[%- cobrand_data = update.cobrand_data %]
[%- cobrand_data = c.data_for_generic_update IF !update.cobrand %]