version 1.252, 2004/03/08 19:41:28
|
version 1.253, 2004/03/09 21:26:59
|
Line 1126 sub render_parts_summary_status {
|
Line 1126 sub render_parts_summary_status {
|
|
|
# If there is a single part, just show the simple status |
# If there is a single part, just show the simple status |
if ($resource->singlepart()) { |
if ($resource->singlepart()) { |
my $status = $resource->simpleStatus('0'); |
my $status = $resource->simpleStatus(${$resource->parts}[0]); |
return $td . "<font color='" . $statusColors{$status} . "'>" |
return $td . "<font color='" . $statusColors{$status} . "'>" |
. $statusStrings{$status} . "</font>" . $endtd; |
. $statusStrings{$status} . "</font>" . $endtd; |
} |
} |