Look and feel v19

This commit is contained in:
Laurent Destailleur
2023-10-17 15:27:07 +02:00
parent 0fbffea663
commit fd2ccf584b
28 changed files with 226 additions and 52 deletions

View File

@@ -555,7 +555,14 @@ while ($i < $imaxinloop) {
print '<div class="box-flex-container kanban">';
}
// Output Kanban
print $object->getKanbanView('', array('selected' => in_array($object->id, $arrayofselected)));
$selected = -1;
if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
$selected = 0;
if (in_array($object->id, $arrayofselected)) {
$selected = 1;
}
}
print $object->getKanbanView('', array('selected' => $selected));
if ($i == ($imaxinloop - 1)) {
print '</div>';
print '</td></tr>';