From d1ca6e7ad1a309f3e9f2274f6bf50589494c94e0 Mon Sep 17 00:00:00 2001 From: FyloZ Date: Sat, 13 Mar 2021 20:32:55 -0500 Subject: [PATCH] =?UTF-8?q?Employ=C3=A9=20->=20Utilisateur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/modules/employees/pages/add/add.component.html | 2 +- src/app/modules/employees/pages/edit/edit.component.html | 2 +- .../pages/password-edit/password-edit.component.html | 2 +- src/app/modules/groups/pages/list/list.component.html | 2 +- .../modules/shared/components/header/header.component.ts | 2 +- src/app/modules/shared/model/employee.ts | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/modules/employees/pages/add/add.component.html b/src/app/modules/employees/pages/add/add.component.html index 951e943..6c528f7 100644 --- a/src/app/modules/employees/pages/add/add.component.html +++ b/src/app/modules/employees/pages/add/add.component.html @@ -1,6 +1,6 @@ - Création d'un employé + Création d'un utilisateur
diff --git a/src/app/modules/employees/pages/edit/edit.component.html b/src/app/modules/employees/pages/edit/edit.component.html index 73bc07f..9cec7fb 100644 --- a/src/app/modules/employees/pages/edit/edit.component.html +++ b/src/app/modules/employees/pages/edit/edit.component.html @@ -1,6 +1,6 @@ - Modification de l'employé #{{employee.id}} + Modification de l'utilisateur #{{employee.id}} diff --git a/src/app/modules/employees/pages/password-edit/password-edit.component.html b/src/app/modules/employees/pages/password-edit/password-edit.component.html index 31c1aa6..8f2d735 100644 --- a/src/app/modules/employees/pages/password-edit/password-edit.component.html +++ b/src/app/modules/employees/pages/password-edit/password-edit.component.html @@ -1,7 +1,7 @@ - Modification du mot de passe de l'employé #{{employee.id}} + Modification du mot de passe de l'utilisateur #{{employee.id}} diff --git a/src/app/modules/groups/pages/list/list.component.html b/src/app/modules/groups/pages/list/list.component.html index b3bf546..be59f51 100644 --- a/src/app/modules/groups/pages/list/list.component.html +++ b/src/app/modules/groups/pages/list/list.component.html @@ -12,7 +12,7 @@ {{group.permissions.length}} - Nombre d'employés + Nombre d'utilisateurs {{group.employeeCount}} diff --git a/src/app/modules/shared/components/header/header.component.ts b/src/app/modules/shared/components/header/header.component.ts index 469c697..9e256bb 100644 --- a/src/app/modules/shared/components/header/header.component.ts +++ b/src/app/modules/shared/components/header/header.component.ts @@ -15,7 +15,7 @@ export class HeaderComponent extends SubscribingComponent { links: HeaderLink[] = [ {route: '/color', title: 'Couleurs', requiredPermission: EmployeePermission.VIEW_RECIPE}, {route: '/catalog', title: 'Catalogue', enabled: true}, - {route: '/employee', title: 'Employés', requiredPermission: EmployeePermission.VIEW_EMPLOYEE}, + {route: '/employee', title: 'Utilisateurs', requiredPermission: EmployeePermission.VIEW_EMPLOYEE}, {route: '/group', title: 'Groupes', requiredPermission: EmployeePermission.VIEW_EMPLOYEE_GROUP}, {route: '/account/login', title: 'Connexion', enabled: true}, {route: '/account/logout', title: 'Déconnexion', enabled: false}, diff --git a/src/app/modules/shared/model/employee.ts b/src/app/modules/shared/model/employee.ts index a4db062..711e30b 100644 --- a/src/app/modules/shared/model/employee.ts +++ b/src/app/modules/shared/model/employee.ts @@ -65,7 +65,7 @@ export const mapped_permissions = { description: 'Voir', impliedPermissions: [EmployeePermission.VIEW_MATERIAL, EmployeePermission.VIEW_MATERIAL_TYPE, EmployeePermission.VIEW_COMPANY, EmployeePermission.VIEW_RECIPE] }, - {permission: EmployeePermission.VIEW_EMPLOYEE, description: 'Voir les employés', impliedPermissions: []}, + {permission: EmployeePermission.VIEW_EMPLOYEE, description: 'Voir les utilisateurs', impliedPermissions: []}, {permission: EmployeePermission.VIEW_EMPLOYEE_GROUP, description: 'Voir les groupes', impliedPermissions: []}, ], edit: [ @@ -96,7 +96,7 @@ export const mapped_permissions = { }, { permission: EmployeePermission.EDIT_EMPLOYEE, - description: 'Modifier les employés', + description: 'Modifier les utilisateurs', impliedPermissions: [EmployeePermission.VIEW_EMPLOYEE] }, { @@ -138,7 +138,7 @@ export const mapped_permissions = { }, { permission: EmployeePermission.REMOVE_EMPLOYEE, - description: 'Supprimer des employés', + description: 'Supprimer des utilisateurs', impliedPermissions: [EmployeePermission.EDIT_EMPLOYEE] }, {