mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-24 05:44:25 +01:00
Added intuitive selection of table rows for missing objects (#37231)
Add the row-with-select class to list tables Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -458,7 +458,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
|
||||
@@ -460,7 +460,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
|
||||
@@ -682,7 +682,7 @@ while ($i < $imaxinloop) {
|
||||
print '</td></tr>';
|
||||
}
|
||||
} else {
|
||||
print '<tr class="oddeven">';
|
||||
print '<tr class="oddeven row-with-select">';
|
||||
|
||||
|
||||
// Action column
|
||||
|
||||
@@ -995,7 +995,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
print '<td class="nowrap center">';
|
||||
|
||||
@@ -700,7 +700,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
|
||||
// Action column
|
||||
if ($conf->main_checkbox_left_column) {
|
||||
|
||||
@@ -445,7 +445,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
|
||||
@@ -904,7 +904,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
|
||||
@@ -455,7 +455,7 @@ while ($i < $imaxinloop) {
|
||||
$opensurvey_static->date_fin = $db->jdate($obj->date_fin);
|
||||
|
||||
// Show here line of result
|
||||
print '<tr data-rowid="'.$opensurvey_static->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$opensurvey_static->id.'" class="oddeven row-with-select">';
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
print '<td class="nowrap center">';
|
||||
|
||||
@@ -1294,7 +1294,7 @@ while ($i < $imaxinloop) {
|
||||
print '</td></tr>';
|
||||
}
|
||||
} else {
|
||||
print '<tr class="oddeven">';
|
||||
print '<tr class="oddeven row-with-select">';
|
||||
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
|
||||
@@ -718,7 +718,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
print '<td class="nowrap center">';
|
||||
|
||||
@@ -654,7 +654,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
|
||||
@@ -749,7 +749,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
|
||||
// Action column
|
||||
if ($conf->main_checkbox_left_column) {
|
||||
|
||||
@@ -693,7 +693,7 @@ while ($i < $imaxinloop) {
|
||||
} else {
|
||||
// Show line of result
|
||||
$j = 0;
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven">';
|
||||
print '<tr data-rowid="'.$object->id.'" class="oddeven row-with-select">';
|
||||
// Action column
|
||||
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
print '<td class="nowrap center">';
|
||||
|
||||
Reference in New Issue
Block a user