move late warning sign

This commit is contained in:
ATM john 2019-08-10 23:09:27 +02:00
parent 89447acaf3
commit 53721ae606

View File

@ -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.' ':'';