Get infolog status icons showing in element list.

This commit is contained in:
Nathan Gray 2014-11-03 17:12:44 +00:00
parent 3d411f82da
commit 382d7bc762

View File

@ -1413,6 +1413,8 @@ class infolog_bo
$infos[$row['info_id']] = array( $infos[$row['info_id']] = array(
'status' => $row['info_type'] != 'phone' && $row['info_status'] == 'ongoing' ? 'status' => $row['info_type'] != 'phone' && $row['info_status'] == 'ongoing' ?
$row['info_percent'].'%' : 'infolog/'.$this->status[$row['info_type']][$row['info_status']], $row['info_percent'].'%' : 'infolog/'.$this->status[$row['info_type']][$row['info_status']],
'status_icon' => $row['info_type'] != 'phone' && $row['info_status'] == 'ongoing' ?
'ongoing' : 'infolog/'.$row['info_status'],
'class' => $row['info_id_parent'] ? 'infolog_rowHasParent' : null, 'class' => $row['info_id_parent'] ? 'infolog_rowHasParent' : null,
); );
if (common::image('infolog', $icon=$row['info_type'].'_element') || if (common::image('infolog', $icon=$row['info_type'].'_element') ||