Fix label

This commit is contained in:
Laurent Destailleur 2020-11-24 14:15:43 +01:00
parent cf82581a2a
commit 551f82ef6a
2 changed files with 6 additions and 1 deletions

View File

@ -16,3 +16,4 @@ DictionaryFunction=HRM - Job positions
Employees=Employees
Employee=Employee
NewEmployee=New employee
ListOfEmployees=List of employees

View File

@ -299,7 +299,11 @@ $formother = new FormOther($db);
//$help_url="EN:Module_MyObject|FR:Module_MyObject_FR|ES:Módulo_MyObject";
$help_url = '';
$text = $langs->trans("ListOfUsers");
if ($contextpage == 'employeelist' && $search_employee == 1) {
$text = $langs->trans("ListOfEmployees");
} else {
$text = $langs->trans("ListOfUsers");
}
$user2 = new User($db);