This commit is contained in:
Laurent Destailleur 2026-05-05 13:50:20 +02:00
parent fb9a3881fa
commit ef712b80cd

View file

@ -1383,7 +1383,7 @@ function projectLinesPerAction(&$inc, $parent, $fuser, $lines, &$level, &$projec
print $taskstatic->getNomUrl(1, 'withproject', 'time');
// Label task
print '<br>';
print '<div class="opacitymedium tdoverflowmax500" title="'.dol_escape_htmltag($taskstatic->label).'">'.dol_escape_htmltag($taskstatic->label).'</div>';
print '<div class="opacitymedium tdoverflowmax400 small" title="'.dol_escape_htmltag($taskstatic->label).'">'.dol_escape_htmltag($taskstatic->label).'</div>';
for ($k = 0; $k < $level; $k++) {
print "</div>";
}
@ -1707,7 +1707,7 @@ function projectLinesPerDay(&$inc, $parent, $fuser, $lines, &$level, &$projectsr
print $taskstatic->getNomUrl(1, 'withproject', 'time');
// Label task
print '<br>';
print '<div class="opacitymedium tdoverflowmax500" title="'.dol_escape_htmltag($taskstatic->label).'">'.dol_escape_htmltag($taskstatic->label).'</div>';
print '<div class="opacitymedium tdoverflowmax400 small" title="'.dol_escape_htmltag($taskstatic->label).'">'.dol_escape_htmltag($taskstatic->label).'</div>';
for ($k = 0; $k < $level; $k++) {
print "</div>";
}
@ -2104,7 +2104,7 @@ function projectLinesPerWeek(&$inc, $firstdaytoshow, $fuser, $parent, $lines, &$
}
// Ref
print '<td class="tdoverflowmax300">';
print '<td>';
print '<!-- Task id = '.$lines[$i]->id.' (projectlinesperweek) -->';
for ($k = 0; $k < $level; $k++) {
print '<div class="marginleftonly">';
@ -2112,7 +2112,7 @@ function projectLinesPerWeek(&$inc, $firstdaytoshow, $fuser, $parent, $lines, &$
print $taskstatic->getNomUrl(1, 'withproject', 'time');
// Label task
print '<br>';
print '<div class="opacitymedium tdoverflowmax500" title="'.dol_escape_htmltag($taskstatic->label).'">'.dol_escape_htmltag($taskstatic->label).'</div>';
print '<div class="opacitymedium tdoverflowmax400 small" title="'.dol_escape_htmltag($taskstatic->label).'">'.dol_escape_htmltag($taskstatic->label).'</div>';
for ($k = 0; $k < $level; $k++) {
print "</div>";
}
@ -2434,7 +2434,7 @@ function projectLinesPerMonth(&$inc, $firstdaytoshow, $fuser, $parent, $lines, &
print $taskstatic->getNomUrl(1, 'withproject', 'time');
// Label task
print '<br>';
print '<div class="opacitymedium tdoverflowmax500" title="'.dol_escape_htmltag($taskstatic->label).'">'.dol_escape_htmltag($taskstatic->label).'</div>';
print '<div class="opacitymedium tdoverflowmax400 small" title="'.dol_escape_htmltag($taskstatic->label).'">'.dol_escape_htmltag($taskstatic->label).'</div>';
for ($k = 0; $k < $level; $k++) {
print "</div>";
}