* ProjectManager/InfoLog: fixed custom type icon in PM to use status label, as in InfoLog

This commit is contained in:
Ralf Becker 2012-05-08 16:10:12 +00:00
parent 2a24a4a53e
commit bab316fac8
2 changed files with 4 additions and 1 deletions

View File

@ -1377,6 +1377,8 @@ class infolog_bo
{
if ($status && substr($status,-1) != '%')
{
list($type,$status) = explode('-', $status);
$status = $this->status[$type][$status];
$icons[$id] = 'infolog/'.$status;
}
}

View File

@ -425,7 +425,8 @@ class infolog_so
$status = 'will-call';
break;
default:
$status = $info['info_status'] == 'ongoing' ? $info['info_percent'].'%' : $info['info_status'];
$status = $info['info_status'] == 'ongoing' ? $info['info_percent'].'%' :
$info['info_type'].'-'.$info['info_status'];
}
$stati[$info['info_id']] = $status;
}