Merge branch 'ent-11205-vista-de-incidencias-con-estilo-no-homogeneo' into 'develop'
Ent 11205 vista de incidencias con estilo no homogeneo See merge request artica/pandorafms!5908
This commit is contained in:
commit
af2def1a62
|
@ -708,23 +708,17 @@ if ($last_incident != false) {
|
||||||
$table_incident->width = '100%';
|
$table_incident->width = '100%';
|
||||||
$table_incident->cellspacing = 0;
|
$table_incident->cellspacing = 0;
|
||||||
$table_incident->cellpadding = 0;
|
$table_incident->cellpadding = 0;
|
||||||
$table_incident->class = 'white_table';
|
$table_incident->class = 'info_table tactical_table';
|
||||||
$table_incident->style = array_fill(0, 3, 'width: 25%;');
|
|
||||||
|
|
||||||
$table_incident->head[0] = ' <span><a href="index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id='.$last_incident['id_incidencia'].'">'.__('Active incident on this agent').'</a></span>';
|
$table_incident->head[0] = '<span>'.__('Author').'</span>';
|
||||||
$table_incident->head_colspan[0] = 4;
|
$table_incident->head[1] = '<span>'.__('Title').'</span>';
|
||||||
|
$table_incident->head[2] = '<span>'.__('Timestamp').'</span>';
|
||||||
|
$table_incident->head[3] = '<span>'.__('Priority').'</span>';
|
||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = '<b>'.__('Author').'</b>';
|
$data[0] = $last_incident['id_creator'];
|
||||||
$data[1] = $last_incident['id_creator'];
|
|
||||||
$data[2] = '<b>'.__('Timestamp').'</b>';
|
|
||||||
$data[3] = $last_incident['inicio'];
|
|
||||||
$table_incident->data[] = $data;
|
|
||||||
|
|
||||||
$data = [];
|
|
||||||
$data[0] = '<b>'.__('Title').'</b>';
|
|
||||||
$data[1] = '<a href="index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id='.$last_incident['id_incidencia'].'">'.$last_incident['titulo'].'</a>';
|
$data[1] = '<a href="index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id='.$last_incident['id_incidencia'].'">'.$last_incident['titulo'].'</a>';
|
||||||
$data[2] = '<b>'.__('Priority').'</b>';
|
$data[2] = $last_incident['inicio'];
|
||||||
$data[3] = incidents_print_priority_img($last_incident['prioridad'], true);
|
$data[3] = incidents_print_priority_img($last_incident['prioridad'], true);
|
||||||
$table_incident->data[] = $data;
|
$table_incident->data[] = $data;
|
||||||
}
|
}
|
||||||
|
@ -994,8 +988,18 @@ if (empty($agentIncidents) === false) {
|
||||||
html_print_div(
|
html_print_div(
|
||||||
[
|
[
|
||||||
'class' => 'agent_details_line',
|
'class' => 'agent_details_line',
|
||||||
'content' => $agentIncidents,
|
'content' => ui_toggle(
|
||||||
]
|
'<div class=\'w100p\' id=\'agent_incident\'>'.$agentIncidents.'</div>',
|
||||||
|
'<span class="subsection_header_title">'.__('Active issue on this agent').'</span>',
|
||||||
|
__('Agent incident main'),
|
||||||
|
'agent_incident',
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
'',
|
||||||
|
'box-flat white-box-content no_border',
|
||||||
|
'box-flat white_table_graph w100p',
|
||||||
|
),
|
||||||
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue