mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
parent
dbec2741f9
commit
2b0cb344da
@ -61,7 +61,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
||||
$headers[$column] = $labels[$column];
|
||||
}
|
||||
}
|
||||
$table = array('<thead><tr><th>' . implode('</th><th>', $headers) . '</th></tr></thead>');
|
||||
$table = array('<thead><tr><th>' . implode('</th><th>', $headers) . '</th></tr></thead><tbody>');
|
||||
foreach ($pieChartData as $perfdata) {
|
||||
if ($compact && $perfdata->isVisualizable()) {
|
||||
$results[] = $perfdata->asInlinePie($color)->render();
|
||||
@ -85,9 +85,10 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
||||
);
|
||||
}
|
||||
}
|
||||
$table []= '<tbody><tr><td class="sparkline-col">' . implode('</td><td>', $data) . '</td></tr></tbody>';
|
||||
$table []= '<tr><td class="sparkline-col">' . implode('</td><td>', $data) . '</td></tr>';
|
||||
}
|
||||
}
|
||||
$table[] = '</tbody>';
|
||||
if ($limit > 0) {
|
||||
$count = $compact ? count($results) : count($table);
|
||||
if ($count > $limit) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user