From 99de0c0b374b1023be31f1d3b642b5444a5bec34 Mon Sep 17 00:00:00 2001 From: Aina Sitraka <35221835+aynsix@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:50:53 +0300 Subject: [PATCH] PHRAS-4062: admin users delete and request improvement (#4509) PHRAS-4062 clean registration when user delete PHRAS-4062 delete user's access requests PHRAS-4062 generate translation --- .../Controller/Admin/UserController.php | 24 ++++ .../ControllerProvider/Admin/Users.php | 2 + .../Phrasea/Model/Manager/UserManager.php | 10 ++ resources/locales/messages.de.xlf | 131 +++++++++--------- resources/locales/messages.en.xlf | 131 +++++++++--------- resources/locales/messages.fr.xlf | 131 +++++++++--------- resources/locales/messages.nl.xlf | 115 +++++++-------- resources/locales/validators.de.xlf | 2 +- resources/locales/validators.en.xlf | 2 +- resources/locales/validators.fr.xlf | 2 +- resources/locales/validators.nl.xlf | 2 +- .../web/admin/user/registrations.html.twig | 28 ++++ 12 files changed, 332 insertions(+), 248 deletions(-) diff --git a/lib/Alchemy/Phrasea/Controller/Admin/UserController.php b/lib/Alchemy/Phrasea/Controller/Admin/UserController.php index efaa4457ae..156dfb39d7 100644 --- a/lib/Alchemy/Phrasea/Controller/Admin/UserController.php +++ b/lib/Alchemy/Phrasea/Controller/Admin/UserController.php @@ -519,6 +519,30 @@ public function displayRegistrationsAction() ]); } + public function deleteUserRegistrationAction(Request $request) + { + /** @var EntityManager $manager */ + $manager = $this->app['orm.em']; + /** @var RegistrationRepository $registrationRepository */ + $registrationRepository = $this->app['repo.registrations']; + + /** @var UserRepository $userRepository */ + $userRepository = $this->app['repo.users']; + $registrations = $registrationRepository->findBy(['user' => $userRepository->find($request->request->get('userId'))]); + + if (empty($registrations)) { + return $this->app->json(['success' => false, 'message' => 'registration not found']); + } + + foreach ($registrations as $registration) { + $manager->remove($registration); + } + + $manager->flush(); + + return $this->app->json(['success' => true]); + } + public function displayAuthFailureAction(Request $request) { return $this->render('admin/auth-failure.html.twig', [ diff --git a/lib/Alchemy/Phrasea/ControllerProvider/Admin/Users.php b/lib/Alchemy/Phrasea/ControllerProvider/Admin/Users.php index 9eb1133d86..49681e3252 100644 --- a/lib/Alchemy/Phrasea/ControllerProvider/Admin/Users.php +++ b/lib/Alchemy/Phrasea/ControllerProvider/Admin/Users.php @@ -77,6 +77,8 @@ public function connect(Application $app) ->bind('users_display_registrations'); $controllers->post('/registrations/', 'controller.admin.users:submitRegistrationAction') ->bind('users_submit_registrations'); + $controllers->post('/registrations/delete/', 'controller.admin.users:deleteUserRegistrationAction') + ->bind('delete_user_registrations'); $controllers->get('/import/file/', 'controller.admin.users:displayImportFileAction') ->bind('users_display_import_file'); $controllers->post('/import/file/', 'controller.admin.users:submitImportFileAction') diff --git a/lib/Alchemy/Phrasea/Model/Manager/UserManager.php b/lib/Alchemy/Phrasea/Model/Manager/UserManager.php index 86cb8c3f80..fda6ee1d34 100644 --- a/lib/Alchemy/Phrasea/Model/Manager/UserManager.php +++ b/lib/Alchemy/Phrasea/Model/Manager/UserManager.php @@ -267,6 +267,7 @@ private function cleanProperties(User $user) $this->cleanOauthApplication($user); $this->cleanLazarets($user); $this->cleanUsrList($user); + $this->cleanRegistration($user); } private function cleanLazarets(User $user) @@ -295,6 +296,15 @@ private function cleanRights(User $user) $stmt->closeCursor(); } } + + private function cleanRegistration(User $user) + { + $registrations = $this->objectManager->getRepository('Phraseanet:Registration')->findBy(['user' => $user]); + foreach ($registrations as $registration) { + $this->objectManager->remove($registration); + } + } + private function cleanOauthApplication(User $user) { $accounts = $this->objectManager->getRepository('Phraseanet:ApiAccount')->findByUser($user); diff --git a/resources/locales/messages.de.xlf b/resources/locales/messages.de.xlf index 94da213355..bd561cdd7e 100644 --- a/resources/locales/messages.de.xlf +++ b/resources/locales/messages.de.xlf @@ -1,14 +1,14 @@ - + - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
- - + + WorkerManager/Worker/DownloadAsyncWorker.php Form/Configuration/EmailFormType.php Form/Login/PhraseaAuthenticationForm.php @@ -196,7 +196,7 @@ Bridge/Dailymotion/element_informations.html.twig - %number% documents<br/>selectionnes + selectionnes]]> ausgewählt]]> Controller/Prod/QueryController.php @@ -1098,7 +1098,7 @@ An unexpected error occurred during authentication process, please contact an admin Ein Fehler ist bei Ihre Authentifizierung aufgetreten. Bitte wenden Sie sich an Ihren Systemadministrator - Controller/Root/LoginController.php + Controller/Root/LoginController.php An upload on %bridge_adapter% failed, the resaon is : %reason% @@ -2562,7 +2562,7 @@ Form/Configuration/ActionsFormType.php - Display & action settings + Anzeige und Handlung-Einstellungen admin/fields/templates.html.twig @@ -2811,7 +2811,7 @@ Email '%email%' for login '%login%' already exists in database Email '%email%' für Login '%login%' existiert schon in der Databank - Controller/Admin/UserController.php + Controller/Admin/UserController.php Email Name @@ -3811,7 +3811,7 @@ Informations Informationen web/admin/dashboard.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/base.html.twig @@ -4246,17 +4246,17 @@ Login %login% already exists in database Benutzername %login% existiert schon im Datenbank - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login %login% is already defined in the file at line %line% Benutzername %login% ist schon in Datei in Linie %line% definiert - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login line %line% is empty Benutzername Zeile %line% ist leer - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login to link your account @@ -4278,7 +4278,7 @@ Mail line %line% is empty Email Zeile %line% ist leer - Controller/Admin/UserController.php + Controller/Admin/UserController.php Mail sent @@ -4453,7 +4453,7 @@ Models Vorlage actions/Feedback/list.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig Modify @@ -4612,7 +4612,7 @@ No application for registration has been recorded Keine Anmeldung für Registrierung wurde verzeichnet - admin/user/registrations.html.twig + admin/user/registrations.html.twig No collection selected @@ -4728,7 +4728,7 @@ Keine Form/Configuration/EmailFormType.php web/admin/users.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig None of the records can be modified. @@ -4988,7 +4988,7 @@ Password is empty at line %line% Passwort ist leer in Zeile %line% - Controller/Admin/UserController.php + Controller/Admin/UserController.php Past year @@ -5764,7 +5764,7 @@ Requests for the application registrations were recorded successfully Anforderungen für die Anwendungs-Registrierungen wurden erfolgreich verzeichnet - admin/user/registrations.html.twig + admin/user/registrations.html.twig Require authentication to download documents @@ -7078,7 +7078,7 @@ Unable to authenticate with %provider_name% Unmöglich, mit %provider_name% zu authentifizieren - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -7121,7 +7121,7 @@ Unable to retrieve provider identity unmöglich, Provider Identität abzurufen - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -7995,7 +7995,7 @@ Your identity is not recognized. Ihre Identität wird nicht erkannt - Controller/Root/LoginController.php + Controller/Root/LoginController.php Your install might need to build some sub-definitions @@ -8202,31 +8202,36 @@ admin:: appliquer le modele Vorlage anwenden - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: auth failure list Authentifizierungsfehler Liste web/admin/auth-failure.html.twig + + admin:: cancel user request + admin:: cancel user request + admin/user/registrations.html.twig + admin:: demandes en cours Schwebende Anfragen - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: donner les droits de telechargement et consultation de previews Ansicht und Herunterladen der Voransichten erlauben - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: donner les droits de telechargements de preview et hd Herunterladen der Voransichten und Dokumente erlauben - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: find record @@ -8261,16 +8266,16 @@ admin:: refuser l'acces Zugriff verboten - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: watermarquer les documents Wasserzeichen auf Voransichten anwenden - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin::CGU Les utilisateurs doivent imperativement revalider ces conditions @@ -8573,7 +8578,7 @@ admin::collection Kollektion - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin::collection: Confirmez vous la suppression de cette collection ? @@ -8611,7 +8616,7 @@ Core/Provider/RegistrationServiceProvider.php Controller/Admin/UserController.php web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8621,7 +8626,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8668,7 +8673,7 @@ web/admin/users.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8692,7 +8697,7 @@ api/auth/end_user_authorization.html.twig web/admin/users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/reset-email.html.twig web/account/account.html.twig web/account/account.html.twig @@ -8715,7 +8720,7 @@ web/common/dialog_export.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8736,7 +8741,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8747,7 +8752,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8766,7 +8771,7 @@ web/admin/users.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8781,7 +8786,7 @@ web/common/dialog_export.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -10619,7 +10624,7 @@ web/admin/setup.html.twig web/admin/structure.html.twig web/admin/dashboard.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig user/import/view.html.twig admin/statusbit/edit.html.twig web/account/reset-email.html.twig @@ -11191,7 +11196,7 @@ expose:: logout Abmeldung - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig expose:: poster @@ -11725,7 +11730,7 @@ login::erreur: Erreur d'authentification Anmeldefehler - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -11736,7 +11741,7 @@ login::erreur: Vous n'avez pas confirme votre email Zugriff nicht möglich. Sie haben Ihre E-Mail Adresse noch nicht bestätigt - Controller/Root/LoginController.php + Controller/Root/LoginController.php login::notification: Changements enregistres @@ -11785,12 +11790,12 @@ login::register:email: Vous avez ete accepte sur les collections suivantes : Ihr Zugriff wurde für die folgende Kollektionen genehmigt : - Controller/Admin/UserController.php + Controller/Admin/UserController.php login::register:email: Vous avez ete refuse sur les collections suivantes : Ihr Zugriff wurde für die folgende Kollektionen abgelehnt : - Controller/Admin/UserController.php + Controller/Admin/UserController.php mai @@ -12716,7 +12721,7 @@ Controller/Root/AccountController.php - phraseanet::account: << your account can be deleted via admin interface >> + >]]> Ihr Benutzerkonto kann nur durch die Administration Anwendung gelöscht werden. web/account/account.html.twig @@ -14088,22 +14093,22 @@ Vorsicht: die aktuelle Werte werden durch die neue Werte überschrieben prod:expose Editable only Bearbeitbar - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose Mine only Meine - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose field mapping Mapping - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose next nächste - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose preview @@ -14113,12 +14118,12 @@ Vorsicht: die aktuelle Werte werden durch die neue Werte überschrieben prod:expose previous letzte - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig - + prod:expose search Suche nach Veröffentlichung - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose: disabled @@ -14133,13 +14138,13 @@ Vorsicht: die aktuelle Werte werden durch die neue Werte überschrieben prod:expose:Add publication Eine Veröffentlichung hinzufügen - prod/WorkZone/Macros.html.twig prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose:Refresh Aktualisieren - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose:connection:Auth connexion @@ -14328,7 +14333,7 @@ Vorsicht: die aktuelle Werte werden durch die neue Werte überschrieben prod/WorkZone/ExposeFieldMapping.html.twig prod/WorkZone/ExposeFieldMapping.html.twig prod/WorkZone/ExposeEdit.html.twig - prod/WorkZone/ExposeEdit.html.twig + prod/WorkZone/ExposeEdit.html.twig prod:expose:publication:Select Theme @@ -15900,7 +15905,7 @@ Vorsicht: die aktuelle Werte werden durch die neue Werte überschrieben web/thesaurus/thesaurus.html.twig - thesaurus:: Supprimer cette branche ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation) + web/thesaurus/thesaurus.html.twig diff --git a/resources/locales/messages.en.xlf b/resources/locales/messages.en.xlf index ead752504a..357f92319b 100644 --- a/resources/locales/messages.en.xlf +++ b/resources/locales/messages.en.xlf @@ -1,14 +1,14 @@ - + - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
- - + + WorkerManager/Worker/DownloadAsyncWorker.php Form/Configuration/EmailFormType.php Form/Login/PhraseaAuthenticationForm.php @@ -196,7 +196,7 @@ Bridge/Dailymotion/element_informations.html.twig - %number% documents<br/>selectionnes + selectionnes]]> selected]]> Controller/Prod/QueryController.php @@ -1099,7 +1099,7 @@ An unexpected error occurred during authentication process, please contact an admin An unexpected error has occured during authentication process. Please contact an admin - Controller/Root/LoginController.php + Controller/Root/LoginController.php An upload on %bridge_adapter% failed, the resaon is : %reason% @@ -2564,7 +2564,7 @@ Form/Configuration/ActionsFormType.php - Display & action settings + Display and action settings admin/fields/templates.html.twig @@ -2813,7 +2813,7 @@ Email '%email%' for login '%login%' already exists in database E-mail '%email%' for login '%login%' already exists in database - Controller/Admin/UserController.php + Controller/Admin/UserController.php Email Name @@ -3813,7 +3813,7 @@ Informations Info web/admin/dashboard.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/base.html.twig @@ -4248,17 +4248,17 @@ Login %login% already exists in database Login %login% already exists in database - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login %login% is already defined in the file at line %line% Login %login% already exists in the file line %line% - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login line %line% is empty Login line %line% is empty - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login to link your account @@ -4280,7 +4280,7 @@ Mail line %line% is empty E-mail line %line% is empty - Controller/Admin/UserController.php + Controller/Admin/UserController.php Mail sent @@ -4455,7 +4455,7 @@ Models Templates actions/Feedback/list.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig Modify @@ -4614,7 +4614,7 @@ No application for registration has been recorded No application registration recorded - admin/user/registrations.html.twig + admin/user/registrations.html.twig No collection selected @@ -4730,7 +4730,7 @@ None Form/Configuration/EmailFormType.php web/admin/users.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig None of the records can be modified. @@ -4990,7 +4990,7 @@ Password is empty at line %line% Password is empty in line %line% - Controller/Admin/UserController.php + Controller/Admin/UserController.php Past year @@ -5766,7 +5766,7 @@ Requests for the application registrations were recorded successfully Requests for application registrations were successfully recorded. - admin/user/registrations.html.twig + admin/user/registrations.html.twig Require authentication to download documents @@ -7080,7 +7080,7 @@ Unable to authenticate with %provider_name% Unable to authenticate with %provider_name% - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -7123,7 +7123,7 @@ Unable to retrieve provider identity Unable to retrieve provider identity. - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -7997,7 +7997,7 @@ Your identity is not recognized. Your identity is not recognized. - Controller/Root/LoginController.php + Controller/Root/LoginController.php Your install might need to build some sub-definitions @@ -8204,31 +8204,36 @@ admin:: appliquer le modele Apply template - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: auth failure list Authentication failure list web/admin/auth-failure.html.twig + + admin:: cancel user request + admin:: cancel user request + admin/user/registrations.html.twig + admin:: demandes en cours Pending registration - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: donner les droits de telechargement et consultation de previews Allow Display and download for previews - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: donner les droits de telechargements de preview et hd Allow previews and documents download - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: find record @@ -8263,16 +8268,16 @@ admin:: refuser l'acces Deny access - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: watermarquer les documents Apply watermark on previews - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin::CGU Les utilisateurs doivent imperativement revalider ces conditions @@ -8575,7 +8580,7 @@ admin::collection Collection - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin::collection: Confirmez vous la suppression de cette collection ? @@ -8613,7 +8618,7 @@ Core/Provider/RegistrationServiceProvider.php Controller/Admin/UserController.php web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8623,7 +8628,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8670,7 +8675,7 @@ web/admin/users.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8694,7 +8699,7 @@ api/auth/end_user_authorization.html.twig web/admin/users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/reset-email.html.twig web/account/account.html.twig web/account/account.html.twig @@ -8717,7 +8722,7 @@ web/common/dialog_export.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8738,7 +8743,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8749,7 +8754,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8768,7 +8773,7 @@ web/admin/users.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8783,7 +8788,7 @@ web/common/dialog_export.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -10621,7 +10626,7 @@ web/admin/setup.html.twig web/admin/structure.html.twig web/admin/dashboard.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig user/import/view.html.twig admin/statusbit/edit.html.twig web/account/reset-email.html.twig @@ -11193,7 +11198,7 @@ expose:: logout Logout - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig expose:: poster @@ -11727,7 +11732,7 @@ login::erreur: Erreur d'authentification Authentication error - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -11738,7 +11743,7 @@ login::erreur: Vous n'avez pas confirme votre email Access denied, you have not confirmed your e-mail address. - Controller/Root/LoginController.php + Controller/Root/LoginController.php login::notification: Changements enregistres @@ -11787,12 +11792,12 @@ login::register:email: Vous avez ete accepte sur les collections suivantes : Your access has been granted on these bases and collections: - Controller/Admin/UserController.php + Controller/Admin/UserController.php login::register:email: Vous avez ete refuse sur les collections suivantes : Your access has been denied to the following databases and collections: - Controller/Admin/UserController.php + Controller/Admin/UserController.php mai @@ -12718,7 +12723,7 @@ Controller/Root/AccountController.php - phraseanet::account: << your account can be deleted via admin interface >> + >]]> Your rights do not allow to perform this action. Your account can only be deleted via the Administration interface. web/account/account.html.twig @@ -14090,22 +14095,22 @@ Warning: The current values will be overwritten by these new values prod:expose Editable only Editable - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose Mine only Mine - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose field mapping Mapping - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose next next - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose preview @@ -14115,12 +14120,12 @@ Warning: The current values will be overwritten by these new values prod:expose previous previous - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig - + prod:expose search Search for publication - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose: disabled @@ -14135,13 +14140,13 @@ Warning: The current values will be overwritten by these new values prod:expose:Add publication Add publication - prod/WorkZone/Macros.html.twig prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose:Refresh Refresh - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose:connection:Auth connexion @@ -14330,7 +14335,7 @@ Warning: The current values will be overwritten by these new values prod/WorkZone/ExposeFieldMapping.html.twig prod/WorkZone/ExposeFieldMapping.html.twig prod/WorkZone/ExposeEdit.html.twig - prod/WorkZone/ExposeEdit.html.twig + prod/WorkZone/ExposeEdit.html.twig prod:expose:publication:Select Theme @@ -15905,7 +15910,7 @@ It is possible to place several search areas web/thesaurus/thesaurus.html.twig - thesaurus:: Supprimer cette branche ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation) + web/thesaurus/thesaurus.html.twig diff --git a/resources/locales/messages.fr.xlf b/resources/locales/messages.fr.xlf index 79f11f1a18..571d3f4c76 100644 --- a/resources/locales/messages.fr.xlf +++ b/resources/locales/messages.fr.xlf @@ -1,14 +1,14 @@ - + - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
- - + + WorkerManager/Worker/DownloadAsyncWorker.php Form/Configuration/EmailFormType.php Form/Login/PhraseaAuthenticationForm.php @@ -196,7 +196,7 @@ Bridge/Dailymotion/element_informations.html.twig - %number% documents<br/>selectionnes + selectionnes]]> sélectionnés]]> Controller/Prod/QueryController.php @@ -1098,7 +1098,7 @@ An unexpected error occurred during authentication process, please contact an admin Une erreur est survenue lors de l'authentification. Veuillez contacter un Administrateur - Controller/Root/LoginController.php + Controller/Root/LoginController.php An upload on %bridge_adapter% failed, the resaon is : %reason% @@ -2562,7 +2562,7 @@ Form/Configuration/ActionsFormType.php - Display & action settings + Paramétrage d'affichage et d'action admin/fields/templates.html.twig @@ -2811,7 +2811,7 @@ Email '%email%' for login '%login%' already exists in database L'adresse e-mail '%email%' pour l'identifiant '%login%' existe déjà dans la base - Controller/Admin/UserController.php + Controller/Admin/UserController.php Email Name @@ -3811,7 +3811,7 @@ Informations Informations web/admin/dashboard.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/base.html.twig @@ -4246,17 +4246,17 @@ Login %login% already exists in database L'identifiant %login% existe déjà dans la base de données - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login %login% is already defined in the file at line %line% L'identifiant %login% est déjà mentionné dans le fichier à la ligne %line% - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login line %line% is empty L'identifiant n'est pas renseigné à la ligne %line% - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login to link your account @@ -4278,7 +4278,7 @@ Mail line %line% is empty L'adresse e-mail n'est pas renseignée à la ligne %line% - Controller/Admin/UserController.php + Controller/Admin/UserController.php Mail sent @@ -4453,7 +4453,7 @@ Models Modèles actions/Feedback/list.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig Modify @@ -4612,7 +4612,7 @@ No application for registration has been recorded Aucune demande d'inscription n'a été enregistrée - admin/user/registrations.html.twig + admin/user/registrations.html.twig No collection selected @@ -4728,7 +4728,7 @@ Aucun Form/Configuration/EmailFormType.php web/admin/users.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig None of the records can be modified. @@ -4988,7 +4988,7 @@ Password is empty at line %line% Le mot de passe est vide à la ligne %line% - Controller/Admin/UserController.php + Controller/Admin/UserController.php Past year @@ -5764,7 +5764,7 @@ Requests for the application registrations were recorded successfully Les demandes d'inscription ont été correctement enregistrées - admin/user/registrations.html.twig + admin/user/registrations.html.twig Require authentication to download documents @@ -7078,7 +7078,7 @@ Unable to authenticate with %provider_name% Impossible de s'authentifier avec %provider_name% - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -7121,7 +7121,7 @@ Unable to retrieve provider identity Impossible de récupérer l'identité auprès du fournisseur. - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -7995,7 +7995,7 @@ Your identity is not recognized. Votre identité n'est pas reconnue. - Controller/Root/LoginController.php + Controller/Root/LoginController.php Your install might need to build some sub-definitions @@ -8202,31 +8202,36 @@ admin:: appliquer le modele Appliquer le modèle - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: auth failure list Liste des erreurs d'authentification web/admin/auth-failure.html.twig + + admin:: cancel user request + admin:: cancel user request + admin/user/registrations.html.twig + admin:: demandes en cours Demandes en cours - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: donner les droits de telechargement et consultation de previews Autoriser la visualisation et le téléchargement des fichiers de sous-définitions - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: donner les droits de telechargements de preview et hd Autoriser le téléchargement des prévisualisations et documents - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: find record @@ -8261,16 +8266,16 @@ admin:: refuser l'acces Refuser l'accès - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: watermarquer les documents Appliquer le filigrane sur les prévisualisations - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin::CGU Les utilisateurs doivent imperativement revalider ces conditions @@ -8573,7 +8578,7 @@ admin::collection Collection - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin::collection: Confirmez vous la suppression de cette collection ? @@ -8611,7 +8616,7 @@ Core/Provider/RegistrationServiceProvider.php Controller/Admin/UserController.php web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8621,7 +8626,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8668,7 +8673,7 @@ web/admin/users.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8692,7 +8697,7 @@ api/auth/end_user_authorization.html.twig web/admin/users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/reset-email.html.twig web/account/account.html.twig web/account/account.html.twig @@ -8715,7 +8720,7 @@ web/common/dialog_export.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8736,7 +8741,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8747,7 +8752,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8766,7 +8771,7 @@ web/admin/users.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8781,7 +8786,7 @@ web/common/dialog_export.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -10620,7 +10625,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le web/admin/setup.html.twig web/admin/structure.html.twig web/admin/dashboard.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig user/import/view.html.twig admin/statusbit/edit.html.twig web/account/reset-email.html.twig @@ -11192,7 +11197,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le expose:: logout Déconnexion - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig expose:: poster @@ -11726,7 +11731,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le login::erreur: Erreur d'authentification Erreur d'authentification - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -11737,7 +11742,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le login::erreur: Vous n'avez pas confirme votre email Accès impossible, vous n'avez pas confirmé votre adresse e-mail. - Controller/Root/LoginController.php + Controller/Root/LoginController.php login::notification: Changements enregistres @@ -11786,12 +11791,12 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le login::register:email: Vous avez ete accepte sur les collections suivantes : Votre accès a été validé pour les collections suivantes : - Controller/Admin/UserController.php + Controller/Admin/UserController.php login::register:email: Vous avez ete refuse sur les collections suivantes : Votre accès a été refusé pour les collections suivantes : - Controller/Admin/UserController.php + Controller/Admin/UserController.php mai @@ -12717,7 +12722,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le Controller/Root/AccountController.php - phraseanet::account: << your account can be deleted via admin interface >> + >]]> Vos droits ne vous permettent pas de réaliser cette action, votre compte ne peut être supprimé que via l'interface d'Administration. web/account/account.html.twig @@ -14091,22 +14096,22 @@ Attention: les valeurs actuellement en place seront écrasées par ces nouvelles prod:expose Editable only Editable - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose Mine only Mes publications - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose field mapping Mapping - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose next suivante - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose preview @@ -14116,12 +14121,12 @@ Attention: les valeurs actuellement en place seront écrasées par ces nouvelles prod:expose previous précédente - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig - + prod:expose search Rechercher une publication - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose: disabled @@ -14136,13 +14141,13 @@ Attention: les valeurs actuellement en place seront écrasées par ces nouvelles prod:expose:Add publication Ajouter une publication - prod/WorkZone/Macros.html.twig prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose:Refresh Actualiser - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose:connection:Auth connexion @@ -14331,7 +14336,7 @@ Attention: les valeurs actuellement en place seront écrasées par ces nouvelles prod/WorkZone/ExposeFieldMapping.html.twig prod/WorkZone/ExposeFieldMapping.html.twig prod/WorkZone/ExposeEdit.html.twig - prod/WorkZone/ExposeEdit.html.twig + prod/WorkZone/ExposeEdit.html.twig prod:expose:publication:Select Theme @@ -15909,7 +15914,7 @@ Attention: les valeurs actuellement en place seront écrasées par ces nouvelles web/thesaurus/thesaurus.html.twig - thesaurus:: Supprimer cette branche ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation) + web/thesaurus/thesaurus.html.twig diff --git a/resources/locales/messages.nl.xlf b/resources/locales/messages.nl.xlf index 4087a96203..fb181ac4fb 100644 --- a/resources/locales/messages.nl.xlf +++ b/resources/locales/messages.nl.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. @@ -1099,7 +1099,7 @@ An unexpected error occurred during authentication process, please contact an admin An unexpected error occurred during authentication process, please contact an admin - Controller/Root/LoginController.php + Controller/Root/LoginController.php An upload on %bridge_adapter% failed, the resaon is : %reason% @@ -2815,7 +2815,7 @@ Email '%email%' for login '%login%' already exists in database Email '%email%' for login '%login%' already exists in database - Controller/Admin/UserController.php + Controller/Admin/UserController.php Email Name @@ -3818,7 +3818,7 @@ Informations Informatie web/admin/dashboard.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/base.html.twig @@ -4253,17 +4253,17 @@ Login %login% already exists in database Login %login% already exists in database - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login %login% is already defined in the file at line %line% Login %login% is already defined in the file at line %line% - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login line %line% is empty Login line %line% is empty - Controller/Admin/UserController.php + Controller/Admin/UserController.php Login to link your account @@ -4285,7 +4285,7 @@ Mail line %line% is empty Mail line %line% is empty - Controller/Admin/UserController.php + Controller/Admin/UserController.php Mail sent @@ -4460,7 +4460,7 @@ Models Modellen actions/Feedback/list.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig Modify @@ -4619,7 +4619,7 @@ No application for registration has been recorded Geen programma registraties werden opgenomen - admin/user/registrations.html.twig + admin/user/registrations.html.twig No collection selected @@ -4735,7 +4735,7 @@ Geen Form/Configuration/EmailFormType.php web/admin/users.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig None of the records can be modified. @@ -4995,7 +4995,7 @@ Password is empty at line %line% Password is empty at line %line% - Controller/Admin/UserController.php + Controller/Admin/UserController.php Past year @@ -5771,7 +5771,7 @@ Requests for the application registrations were recorded successfully Aanvragen voor de programma registraties zijn met succes opgenomen - admin/user/registrations.html.twig + admin/user/registrations.html.twig Require authentication to download documents @@ -7085,7 +7085,7 @@ Unable to authenticate with %provider_name% Unable to authenticate with %provider_name% - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -7128,7 +7128,7 @@ Unable to retrieve provider identity Het is niet mogelijk om de identiteit van de provider te ontvangen - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -8002,7 +8002,7 @@ Your identity is not recognized. Uw identiteit werd niet herkend - Controller/Root/LoginController.php + Controller/Root/LoginController.php Your install might need to build some sub-definitions @@ -8209,31 +8209,36 @@ admin:: appliquer le modele admin:: gebruik dit model - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: auth failure list admin:: auth failure list web/admin/auth-failure.html.twig + + admin:: cancel user request + admin:: cancel user request + admin/user/registrations.html.twig + admin:: demandes en cours Aanvragen in behandeling - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: donner les droits de telechargement et consultation de previews Geef de rechten voor het downloaden en het consulteren van voorvertoningen - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: donner les droits de telechargements de preview et hd Geef de rechten voor het downloaden van voorvertoningen en hd - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: find record @@ -8268,16 +8273,16 @@ admin:: refuser l'acces Weiger de toegang - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin:: watermarquer les documents Watermerk de documenten - admin/user/registrations.html.twig - admin/user/registrations.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig + admin/user/registrations.html.twig admin::CGU Les utilisateurs doivent imperativement revalider ces conditions @@ -8580,7 +8585,7 @@ admin::collection Collectie - admin/user/registrations.html.twig + admin/user/registrations.html.twig admin::collection: Confirmez vous la suppression de cette collection ? @@ -8618,7 +8623,7 @@ Core/Provider/RegistrationServiceProvider.php Controller/Admin/UserController.php web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8628,7 +8633,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8675,7 +8680,7 @@ web/admin/users.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8699,7 +8704,7 @@ api/auth/end_user_authorization.html.twig web/admin/users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/reset-email.html.twig web/account/account.html.twig web/account/account.html.twig @@ -8722,7 +8727,7 @@ web/common/dialog_export.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8743,7 +8748,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8754,7 +8759,7 @@ Controller/Admin/UserController.php web/common/dialog_export.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8773,7 +8778,7 @@ web/admin/users.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -8788,7 +8793,7 @@ web/common/dialog_export.html.twig web/admin/connected-users.html.twig web/admin/editusers.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig web/account/account.html.twig @@ -10626,7 +10631,7 @@ web/admin/setup.html.twig web/admin/structure.html.twig web/admin/dashboard.html.twig - admin/user/registrations.html.twig + admin/user/registrations.html.twig user/import/view.html.twig admin/statusbit/edit.html.twig web/account/reset-email.html.twig @@ -11198,7 +11203,7 @@ expose:: logout expose:: logout - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig expose:: poster @@ -11732,7 +11737,7 @@ login::erreur: Erreur d'authentification Verificatiefout - Controller/Root/LoginController.php + Controller/Root/LoginController.php Controller/Api/OAuth2Controller.php @@ -11743,7 +11748,7 @@ login::erreur: Vous n'avez pas confirme votre email U hebt uw email adres niet bevestigd - Controller/Root/LoginController.php + Controller/Root/LoginController.php login::notification: Changements enregistres @@ -11792,12 +11797,12 @@ login::register:email: Vous avez ete accepte sur les collections suivantes : login::register:email: Vous avez ete accepte sur les collections suivantes : - Controller/Admin/UserController.php + Controller/Admin/UserController.php login::register:email: Vous avez ete refuse sur les collections suivantes : login::register:email: Vous avez ete refuse sur les collections suivantes : - Controller/Admin/UserController.php + Controller/Admin/UserController.php mai @@ -14094,22 +14099,22 @@ prod:expose Editable only prod:expose Editable only - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose Mine only prod:expose Mine only - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose field mapping prod:expose field mapping - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose next prod:expose next - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose preview @@ -14119,12 +14124,12 @@ prod:expose previous prod:expose previous - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose search prod:expose search - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose: disabled @@ -14139,13 +14144,13 @@ prod:expose:Add publication prod:expose:Add publication - prod/WorkZone/Macros.html.twig prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose:Refresh prod:expose:Refresh - prod/WorkZone/Macros.html.twig + prod/WorkZone/Macros.html.twig prod:expose:connection:Auth connexion @@ -14334,7 +14339,7 @@ prod/WorkZone/ExposeFieldMapping.html.twig prod/WorkZone/ExposeFieldMapping.html.twig prod/WorkZone/ExposeEdit.html.twig - prod/WorkZone/ExposeEdit.html.twig + prod/WorkZone/ExposeEdit.html.twig prod:expose:publication:Select Theme diff --git a/resources/locales/validators.de.xlf b/resources/locales/validators.de.xlf index 08ee1aad63..3804586294 100644 --- a/resources/locales/validators.de.xlf +++ b/resources/locales/validators.de.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/resources/locales/validators.en.xlf b/resources/locales/validators.en.xlf index 52f435bac6..a2f1aa2774 100644 --- a/resources/locales/validators.en.xlf +++ b/resources/locales/validators.en.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/resources/locales/validators.fr.xlf b/resources/locales/validators.fr.xlf index 5f2555685d..ffaccf96a3 100644 --- a/resources/locales/validators.fr.xlf +++ b/resources/locales/validators.fr.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/resources/locales/validators.nl.xlf b/resources/locales/validators.nl.xlf index 6bfe563c6d..acbf94f56b 100644 --- a/resources/locales/validators.nl.xlf +++ b/resources/locales/validators.nl.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/templates/web/admin/user/registrations.html.twig b/templates/web/admin/user/registrations.html.twig index cce4e12ad5..9bc29c778e 100644 --- a/templates/web/admin/user/registrations.html.twig +++ b/templates/web/admin/user/registrations.html.twig @@ -158,6 +158,31 @@ $form.submit(); }); + + $("#registrations").on('click', '.cancel-user-request', function() { + if(confirm('Do you want to delete this user request ?')) { + $.ajax({ + type: "POST", + url: "/admin/users/registrations/delete/", + data: { + userId : $(this).attr('data-user-id'), + }, + success: function (data) { + if (data.success == true) { + $.ajax({ + type: "GET", + url: "/admin/users/registrations/", + success: function (data) { + } + }); + } + } + }); + } else { + return false; + } + }); + }); @@ -263,6 +288,9 @@ {% endfor %} + + +