From 53721ae6069b66a499f511134d87bf3efd381588 Mon Sep 17 00:00:00 2001 From: ATM john Date: Sat, 10 Aug 2019 23:09:27 +0200 Subject: [PATCH] move late warning sign --- htdocs/core/lib/project.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php index 550cad0a853..7f238d9d736 100644 --- a/htdocs/core/lib/project.lib.php +++ b/htdocs/core/lib/project.lib.php @@ -2010,7 +2010,7 @@ function getTaskProgressView($task, $label = true, $progressNumber = true, $hide if($label !== false) { $out.= ' '; - 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.' ':'';