forked from extern/egroupware
* ProjectManager/InfoLog: fixed custom type icon in PM to use status label, as in InfoLog
This commit is contained in:
parent
2a24a4a53e
commit
bab316fac8
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user