From 95fd8a066fb11e34cf3fd2ce030415f74158791c Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 19 Oct 2020 16:12:21 +0200 Subject: [PATCH] Add impersonate button --- .../templates/registration/user_detail.html | 3 +++ locale/fr/LC_MESSAGES/django.po | 14 +++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/apps/registration/templates/registration/user_detail.html b/apps/registration/templates/registration/user_detail.html index 38c5519..710cf48 100644 --- a/apps/registration/templates/registration/user_detail.html +++ b/apps/registration/templates/registration/user_detail.html @@ -62,6 +62,9 @@ {% if user.pk == user_object.pk or user.registration.is_admin %} {% endif %} diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 366d6be..15fd018 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Corres2math\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-15 20:47+0200\n" +"POT-Creation-Date: 2020-10-19 16:11+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Yohann D'ANELLO \n" "Language-Team: LANGUAGE \n" @@ -267,7 +267,7 @@ msgstr "Lien de la vidéo :" #: apps/participation/templates/participation/participation_detail.html:41 #: apps/participation/templates/participation/upload_video.html:11 #: apps/registration/templates/registration/upload_photo_authorization.html:18 -#: apps/registration/templates/registration/user_detail.html:75 +#: apps/registration/templates/registration/user_detail.html:78 msgid "Upload" msgstr "Téléverser" @@ -316,7 +316,7 @@ msgstr "Pas encore envoyée" #: apps/participation/templates/participation/update_team.html:12 #: apps/registration/templates/registration/update_user.html:12 #: apps/registration/templates/registration/user_detail.html:64 -#: apps/registration/templates/registration/user_detail.html:70 +#: apps/registration/templates/registration/user_detail.html:73 msgid "Update" msgstr "Modifier" @@ -752,11 +752,15 @@ msgstr "Rôle :" msgid "Grant Animath to contact me in the future about other actions:" msgstr "Autorise Animath à recontacter à propos d'autres actions :" -#: apps/registration/templates/registration/user_detail.html:69 +#: apps/registration/templates/registration/user_detail.html:66 +msgid "Impersonate" +msgstr "Impersonifier" + +#: apps/registration/templates/registration/user_detail.html:72 msgid "Update user" msgstr "Modifier l'utilisateur" -#: apps/registration/templates/registration/user_detail.html:74 +#: apps/registration/templates/registration/user_detail.html:77 msgid "Upload photo authorization" msgstr "Téléverser l'autorisation de droit à l'image"