Skip to content

Commit

Permalink
got the confirmation message working
Browse files Browse the repository at this point in the history
  • Loading branch information
smcmurtry committed Feb 19, 2025
1 parent 8694456 commit e7ae340
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/main/views/manage_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ def remove_user_from_service(service_id, user_id):
if current_user.id == user_id:
# the user has removed themselves from the service
# redirect to the "your services" page
flash(
[
_l("You have left “{}”").format(current_service.name),
],
"default_with_tick",
)
return redirect(url_for("main.choose_account"))
return redirect(url_for(".manage_users", service_id=service_id))

Expand Down
1 change: 1 addition & 0 deletions app/translations/csv/fr.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2121,3 +2121,4 @@
"Ask which team members have permission to invite you. If the team is unsure, from a GC Notify account visit the main menu and select “Team members.” That page:","Demandez quels ou quelles membres de l’équipe ont la permission de vous inviter. Si l’équipe n’en est pas certaine, utilisez un compte Notification GC pour visiter le menu principal et rendez-vous dans la section « Votre équipe ». Cette page comprend :"
"Includes an invitation button at the top of the page, if the member is permitted to send invitations.","un bouton d’invitation au haut de la page si le ou la membre de l’équipe a la permission d’envoyer des invitations; et"
"Lists permitted tasks under the name of each member.","sous le nom de chaque membre de l’équipe, une liste des tâches que cette personne a l’autorisation de réaliser."
"You have left “{}”","FR: You have left “{}”"

0 comments on commit e7ae340

Please sign in to comment.