Fixed the style of some report items with data in columns. TICKET: #3152

(cherry picked from commit 0b933d86e9)
This commit is contained in:
mdtrooper 2016-01-12 16:33:22 +01:00
parent ca296834bf
commit e43a854ad0
1 changed files with 11 additions and 0 deletions

View File

@ -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');