This commit is contained in:
Laurent Destailleur 2021-11-07 17:27:37 +01:00
parent 969fe16442
commit 4247275465
3 changed files with 6 additions and 6 deletions

View File

@ -539,9 +539,9 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
$openedDashBoard .= '<div class="info-box-line">';
if (!empty($board->labelShort)) {
$infoName = '<span title="'.$board->label.'">'.$board->labelShort.'</span>';
$infoName = '<span class="marginrightonly" title="'.$board->label.'">'.$board->labelShort.'</span>';
} else {
$infoName = $board->label;
$infoName = '<span class="marginrightonly">'.$board->label.'</span>';
}
$textLateTitle = $langs->trans("NActionsLate", $board->nbtodolate);
@ -563,7 +563,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
$nbtodClass = 'badge badge-info';
}
$openedDashBoard .= ' <a href="'.$board->url.'" class="info-box-text info-box-text-a">'.$infoName.' : <span class="'.$nbtodClass.' classfortooltip" title="'.$board->label.'" >'.$board->nbtodo.'</span>';
$openedDashBoard .= ' <a href="'.$board->url.'" class="info-box-text info-box-text-a">'.$infoName.'<span class="'.$nbtodClass.' classfortooltip" title="'.$board->label.'" >'.$board->nbtodo.'</span>';
if ($textLate) {
if ($board->url_late) {
$openedDashBoard .= '</a>';
@ -576,7 +576,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
$openedDashBoard .= '</a>'."\n";
if ($board->total > 0 && !empty($conf->global->MAIN_WORKBOARD_SHOW_TOTAL_WO_TAX)) {
$openedDashBoard .= '<a href="'.$board->url.'" class="info-box-text">'.$langs->trans('Total').' : '.price($board->total).'</a>';
$openedDashBoard .= '<a href="'.$board->url.'" class="info-box-text">'.$langs->trans('Total').' '.price($board->total).'</a>';
}
$openedDashBoard .= '</div>'."\n";
}

View File

@ -1086,7 +1086,7 @@ select.flat.selectlimit {
max-width: 62px;
}
.selectlimit, .marginrightonly {
margin-right: 10px !important;
margin-<?php echo $right; ?>: 10px !important;
}
.marginleftonly {
margin-<?php echo $left; ?>: 10px !important;

View File

@ -1170,7 +1170,7 @@ select.flat.selectlimit {
max-width: 62px;
}
.selectlimit, .marginrightonly {
margin-right: 10px !important;
margin-<?php echo $right; ?>: 10px !important;
}
.marginleftonly {
margin-<?php echo $left; ?>: 10px !important;