forked from Wavyzz/dolibarr
Fix: Nowrap
This commit is contained in:
@@ -101,7 +101,7 @@ class box_actions extends ModeleBoxes
|
|||||||
'logo' => ("action"),
|
'logo' => ("action"),
|
||||||
'url' => DOL_URL_ROOT."/comm/action/fiche.php?id=".$objp->id);
|
'url' => DOL_URL_ROOT."/comm/action/fiche.php?id=".$objp->id);
|
||||||
|
|
||||||
$this->info_box_contents[$i][1] = array('td' => 'align="left" nowrap="1"',
|
$this->info_box_contents[$i][1] = array('td' => 'align="left"',
|
||||||
'text' => dol_trunc($label,32),
|
'text' => dol_trunc($label,32),
|
||||||
'text2'=> $late,
|
'text2'=> $late,
|
||||||
'url' => DOL_URL_ROOT."/comm/action/fiche.php?id=".$objp->id);
|
'url' => DOL_URL_ROOT."/comm/action/fiche.php?id=".$objp->id);
|
||||||
|
|||||||
@@ -1581,7 +1581,7 @@ function dol_print_graph($htmlid,$width,$height,$data,$showlegend=0,$type='pie',
|
|||||||
* MAIN_DISABLE_TRUNC=1 can disable all truncings
|
* MAIN_DISABLE_TRUNC=1 can disable all truncings
|
||||||
*
|
*
|
||||||
* @param string $string String to truncate
|
* @param string $string String to truncate
|
||||||
* @param int $size Max string size visible. 0 for no limit. finale string size can be 1 more (if size was max+1) or 3 more (if we added ...)
|
* @param int $size Max string size visible. 0 for no limit. Final string size can be 1 more (if size was max+1) or 3 more (if we added ...)
|
||||||
* @param string $trunc Where to trunc: right, left, middle (size must be a 2 power), wrap
|
* @param string $trunc Where to trunc: right, left, middle (size must be a 2 power), wrap
|
||||||
* @param string $stringencoding Tell what is source string encoding
|
* @param string $stringencoding Tell what is source string encoding
|
||||||
* @param int $nodot Truncation do not add ... after truncation. So it's an exact truncation.
|
* @param int $nodot Truncation do not add ... after truncation. So it's an exact truncation.
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ print '<th class="liste_titre"align="right">'.$langs->trans("Number").'</th>';
|
|||||||
print '<th class="liste_titre"align="right">'.$langs->trans("Late").'</th>';
|
print '<th class="liste_titre"align="right">'.$langs->trans("Late").'</th>';
|
||||||
print '<th class="liste_titre"> </th>';
|
print '<th class="liste_titre"> </th>';
|
||||||
print '<th class="liste_titre"width="20"> </th>';
|
print '<th class="liste_titre"width="20"> </th>';
|
||||||
if ($showweather) print '<th class="liste_titre" width="80"> </th>';
|
if ($showweather) print '<th class="liste_titre hideonsmartphone" width="80"> </th>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
|
|
||||||
@@ -483,7 +483,7 @@ foreach($dashboardlines as $key => $board)
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
if ($showweather)
|
if ($showweather)
|
||||||
{
|
{
|
||||||
print '<td class="nohover" rowspan="'.$rowspan.'" width="80" style="border-left: 1px solid #DDDDDD" align="center">';
|
print '<td class="nohover hideonsmartphone" rowspan="'.$rowspan.'" width="80" style="border-left: 1px solid #DDDDDD" align="center">';
|
||||||
$text='';
|
$text='';
|
||||||
if ($totallate > 0) $text=$langs->transnoentitiesnoconv("WarningYouHaveAtLeastOneTaskLate").' ('.$langs->transnoentitiesnoconv("NActionsLate",$totallate).')';
|
if ($totallate > 0) $text=$langs->transnoentitiesnoconv("WarningYouHaveAtLeastOneTaskLate").' ('.$langs->transnoentitiesnoconv("NActionsLate",$totallate).')';
|
||||||
$options='height="64px"';
|
$options='height="64px"';
|
||||||
|
|||||||
Reference in New Issue
Block a user