move late warning sign
This commit is contained in:
parent
89447acaf3
commit
53721ae606
@ -2010,7 +2010,7 @@ function getTaskProgressView($task, $label = true, $progressNumber = true, $hide
|
||||
if($label !== false)
|
||||
{
|
||||
$out.= ' <span class="progress-text">';
|
||||
if ($task->hasDelay()) $out.= img_warning($langs->trans("Late")).' ';
|
||||
|
||||
if($label!==true){
|
||||
$out.= $label; // replace label by param
|
||||
}
|
||||
@ -2028,6 +2028,7 @@ function getTaskProgressView($task, $label = true, $progressNumber = true, $hide
|
||||
$out.= $progressNumber; // replace label by param
|
||||
}
|
||||
else{
|
||||
if ($task->hasDelay()) $out.= img_warning($langs->trans("Late")).' ';
|
||||
|
||||
$out.= !empty($diff) ? $diff.' ':'';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user