diff --git a/lemarche/templates/dashboard/siae_search_adopt_confirm.html b/lemarche/templates/dashboard/siae_search_adopt_confirm.html index 70821386c..1db8c2b48 100644 --- a/lemarche/templates/dashboard/siae_search_adopt_confirm.html +++ b/lemarche/templates/dashboard/siae_search_adopt_confirm.html @@ -73,10 +73,15 @@

Dernière vérification

{% if siae.users.count %} {% endif %} diff --git a/lemarche/www/dashboard_siaes/views.py b/lemarche/www/dashboard_siaes/views.py index 1e6c76c32..ac245e53b 100644 --- a/lemarche/www/dashboard_siaes/views.py +++ b/lemarche/www/dashboard_siaes/views.py @@ -86,10 +86,7 @@ def form_valid(self, form): logs=[{"action": "create", "timestamp": timezone.now().isoformat()}], ) send_siae_user_request_email_to_assignee(siae_user_request) - success_message = ( - f"La demande a été envoyée à {self.object.users.first().full_name}.
" - f"Cet utilisateur ne fait plus partie de la structure ? Contactez le support" # noqa - ) + success_message = f"La demande a été envoyée à {self.object.users.first().full_name}." messages.add_message(self.request, messages.SUCCESS, success_message) return HttpResponseRedirect(reverse_lazy("dashboard:home"))