Fix td balance
This commit is contained in:
parent
35bf7aabfc
commit
e4c4ef14ef
@ -1614,7 +1614,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser
|
|||||||
|
|
||||||
// Project ref
|
// Project ref
|
||||||
if (!empty($allprojectforuser)) {
|
if (!empty($allprojectforuser)) {
|
||||||
print '<td>';
|
print '<td class="nowraponall">';
|
||||||
if (empty($conf->cache['project'][$task_time->fk_projet])) {
|
if (empty($conf->cache['project'][$task_time->fk_projet])) {
|
||||||
$tmpproject = new Project($db);
|
$tmpproject = new Project($db);
|
||||||
$tmpproject->fetch($task_time->fk_projet);
|
$tmpproject->fetch($task_time->fk_projet);
|
||||||
@ -1624,6 +1624,9 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser
|
|||||||
}
|
}
|
||||||
print $tmpproject->getNomUrl(1);
|
print $tmpproject->getNomUrl(1);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
if (!$i) {
|
||||||
|
$totalarray['nbfield']++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Task ref
|
// Task ref
|
||||||
@ -1849,6 +1852,14 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Project ref
|
||||||
|
if (!empty($allprojectforuser)) {
|
||||||
|
if ((empty($id) && empty($ref)) || !empty($projectidforalltimes)) { // Not a dedicated task
|
||||||
|
print '<td class="nowrap">';
|
||||||
|
print '</td>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Task ref
|
// Task ref
|
||||||
if (!empty($arrayfields['t.task_ref']['checked'])) {
|
if (!empty($arrayfields['t.task_ref']['checked'])) {
|
||||||
if ((empty($id) && empty($ref)) || !empty($projectidforalltimes)) { // Not a dedicated task
|
if ((empty($id) && empty($ref)) || !empty($projectidforalltimes)) { // Not a dedicated task
|
||||||
@ -1977,6 +1988,14 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Project ref
|
||||||
|
if (!empty($allprojectforuser)) {
|
||||||
|
if ((empty($id) && empty($ref)) || !empty($projectidforalltimes)) { // Not a dedicated task
|
||||||
|
print '<td class="nowrap">';
|
||||||
|
print '</td>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Task ref
|
// Task ref
|
||||||
if (!empty($arrayfields['t.task_ref']['checked'])) {
|
if (!empty($arrayfields['t.task_ref']['checked'])) {
|
||||||
if ((empty($id) && empty($ref)) || !empty($projectidforalltimes)) { // Not a dedicated task
|
if ((empty($id) && empty($ref)) || !empty($projectidforalltimes)) { // Not a dedicated task
|
||||||
|
|||||||
@ -1971,8 +1971,8 @@ div.vmenu, td.vmenu {
|
|||||||
|
|
||||||
|
|
||||||
div.fiche {
|
div.fiche {
|
||||||
margin-<?php print $left; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '34' : '6')); ?>px;
|
margin-<?php print $left; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '40' : '6')); ?>px;
|
||||||
margin-<?php print $right; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '30' : '6')); ?>px;
|
margin-<?php print $right; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '36' : '6')); ?>px;
|
||||||
<?php if (!empty($dol_hide_leftmenu)) {
|
<?php if (!empty($dol_hide_leftmenu)) {
|
||||||
print 'margin-bottom: 12px;'."\n";
|
print 'margin-bottom: 12px;'."\n";
|
||||||
} ?>
|
} ?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user