Skip to content

Commit

Permalink
Fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 6, 2023
1 parent cf3f741 commit e94dceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/projet/tasks/time.php
Original file line number Diff line number Diff line change
Expand Up @@ -2210,15 +2210,15 @@ function setDetailVisibility() {
}
}
if (!empty($arrayfields['p.project_label']['checked'])) {
print '<td class="nowraponall">';
if (empty($conf->cache['project'][$task_time->fk_projet])) {
$tmpproject = new Project($db);
$tmpproject->fetch($task_time->fk_projet);
$conf->cache['project'][$task_time->fk_projet] = $tmpproject;
} else {
$tmpproject = $conf->cache['project'][$task_time->fk_projet];
}
print $tmpproject->title;
print '<td class="tdoverflowmax250" title="'.dol_escape_htmltag($tmpproject->title).'">';
print dol_escape_htmltag($tmpproject->title);
print '</td>';
if (!$i) {
$totalarray['nbfield']++;
Expand Down Expand Up @@ -2250,7 +2250,7 @@ function setDetailVisibility() {
// Task label
if (!empty($arrayfields['t.element_label']['checked'])) {
if ((empty($id) && empty($ref)) || !empty($projectidforalltimes)) { // Not a dedicated task
print '<td class="nowrap tdoverflowmax300" title="'.dol_escape_htmltag($task_time->label).'">';
print '<td class="tdoverflowmax300" title="'.dol_escape_htmltag($task_time->label).'">';
print dol_escape_htmltag($task_time->label);
print '</td>';
if (!$i) {
Expand Down

0 comments on commit e94dceb

Please sign in to comment.