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

This commit is contained in:
mdtrooper 2016-01-12 16:33:22 +01:00
parent 7a6108bdfe
commit 0b933d86e9

View File

@ -926,6 +926,12 @@ function reporting_html_exception($table, $item) {
$table1->data = array (); $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 = array ();
$table1->head['agent'] = __('Agent'); $table1->head['agent'] = __('Agent');
$table1->head['module'] = __('Module'); $table1->head['module'] = __('Module');
@ -965,6 +971,11 @@ function reporting_html_exception($table, $item) {
$table1->align['avg'] = 'right'; $table1->align['avg'] = 'right';
$table1->align['max'] = '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 = array ();
$table1->head['min'] = __('Min Value'); $table1->head['min'] = __('Min Value');
$table1->head['avg'] = __('Average Value'); $table1->head['avg'] = __('Average Value');