diff options
author | Matthew Somerville <matthew@cake.ukcod.org.uk> | 2010-04-20 12:49:44 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@cake.ukcod.org.uk> | 2010-04-20 12:49:44 +0100 |
commit | a267f47e14df4d620662b3a57cb9b24c236c11e9 (patch) | |
tree | 7f47b0278034065058f2b81b7e349e7eaf4c1eff /web-admin/index.cgi | |
parent | 3ef44a3a83498c2afd0f2766fc28487cab4c0e78 (diff) |
Tweak to update table in admin.
Diffstat (limited to 'web-admin/index.cgi')
-rwxr-xr-x | web-admin/index.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/web-admin/index.cgi b/web-admin/index.cgi index 2ea68d065..95d500728 100755 --- a/web-admin/index.cgi +++ b/web-admin/index.cgi @@ -87,6 +87,7 @@ sub html_head($$) { <style type="text/css"> dt { clear: left; float: left; font-weight: bold; } dd { margin-left: 8em; } +.hidden { color: #999999; } </style> </head> <body> @@ -660,7 +661,9 @@ sub admin_show_updates { $url); } my $cobrand = $_->{cobrand} . '<br>' . $_->{cobrand_data}; - print $q->Tr({}, $q->td([ $url, $_->{state}, ent($_->{name} || ''), + my $attr = {}; + $attr{-class} = 'hidden' if $_->{state} eq 'hidden'; + print $q->Tr($attr, $q->td([ $url, $_->{state}, ent($_->{name} || ''), ent($_->{email}), $_->{created}, $cobrand, ent($_->{text}), $q->a({ -href => NewURL($q, page=>'update_edit', id=>$_->{id}) }, 'Edit') ])); |