Fixed the style of some report items with data in columns. TICKET: #3152
(cherry picked from commit 0b933d86e9
)
This commit is contained in:
parent
ca296834bf
commit
e43a854ad0
|
@ -928,6 +928,12 @@ function reporting_html_exception($table, $item) {
|
|||
|
||||
$table1->data = array ();
|
||||
|
||||
$table1->headstyle = array();
|
||||
$table1->headstyle['agent'] = 'text-align: left';
|
||||
$table1->headstyle['module'] = 'text-align: left';
|
||||
$table1->headstyle['operation'] = 'text-align: left';
|
||||
$table1->headstyle['value'] = 'text-align: right';
|
||||
|
||||
$table1->head = array ();
|
||||
$table1->head['agent'] = __('Agent');
|
||||
$table1->head['module'] = __('Module');
|
||||
|
@ -967,6 +973,11 @@ function reporting_html_exception($table, $item) {
|
|||
$table1->align['avg'] = 'right';
|
||||
$table1->align['max'] = 'right';
|
||||
|
||||
$table1->headstyle = array();
|
||||
$table1->headstyle['min'] = 'text-align: right';
|
||||
$table1->headstyle['avg'] = 'text-align: right';
|
||||
$table1->headstyle['max'] = 'text-align: right';
|
||||
|
||||
$table1->head = array ();
|
||||
$table1->head['min'] = __('Min Value');
|
||||
$table1->head['avg'] = __('Average Value');
|
||||
|
|
Loading…
Reference in New Issue