Update tasks.php

This commit is contained in:
Laurent Destailleur 2021-03-04 16:50:39 +01:00 committed by GitHub
parent beb8dbcc01
commit 87da30d2d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -809,11 +809,13 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->third
print '</td>'; print '</td>';
} }
} }
// Contacts of task for backward compatibility, // Contacts of task, disabled because available by default jsut after
/*
if (!empty($conf->global->PROJECT_SHOW_CONTACTS_IN_LIST)) { if (!empty($conf->global->PROJECT_SHOW_CONTACTS_IN_LIST)) {
print '<td class="liste_titre"></td>'; print '<td class="liste_titre"></td>';
} }
*/
if (!empty($arrayfields['c.assigned']['checked'])) { if (!empty($arrayfields['c.assigned']['checked'])) {
print '<td class="liste_titre right">'; print '<td class="liste_titre right">';
print '</td>'; print '</td>';
@ -869,10 +871,12 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->third
print_liste_field_titre($arrayfields['t.billed']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right '); print_liste_field_titre($arrayfields['t.billed']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
} }
} }
// Contacts of task for backward compatibility, // Contacts of task, disabled because available by default jsut after
/*
if (!empty($conf->global->PROJECT_SHOW_CONTACTS_IN_LIST)) { if (!empty($conf->global->PROJECT_SHOW_CONTACTS_IN_LIST)) {
print_liste_field_titre("TaskRessourceLinks", $_SERVER["PHP_SELF"], '', '', $param, $sortfield, $sortorder); print_liste_field_titre("TaskRessourceLinks", $_SERVER["PHP_SELF"], '', '', $param, $sortfield, $sortorder);
} }
*/
if (!empty($arrayfields['c.assigned']['checked'])) { if (!empty($arrayfields['c.assigned']['checked'])) {
print_liste_field_titre($arrayfields['c.assigned']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ', ''); print_liste_field_titre($arrayfields['c.assigned']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ', '');
} }