diff --git a/itou/templates/dashboard/edit_user_notifications.html b/itou/templates/dashboard/edit_user_notifications.html index 047a5f765d..df857fcca0 100644 --- a/itou/templates/dashboard/edit_user_notifications.html +++ b/itou/templates/dashboard/edit_user_notifications.html @@ -20,37 +20,37 @@

Mes notifications

Gestion des notifications

{% csrf_token %} -
- -
+
-
- + {% endfor %} - + {% comment "back_url may be not useful anymore, remove it from the view" %}{% endcomment %} {% itou_buttons_form primary_label="Enregistrer" reset_url=back_url show_mandatory_fields_mention=False %} diff --git a/itou/www/dashboard/views.py b/itou/www/dashboard/views.py index 438d89ad2f..6905b845ce 100644 --- a/itou/www/dashboard/views.py +++ b/itou/www/dashboard/views.py @@ -361,7 +361,7 @@ def edit_user_notifications(request, template_name="dashboard/edit_user_notifica if request.method == "POST" and notification_form.is_valid(): notification_form.save() - messages.success(request, "Vos préférences ont été modifiées.") + messages.success(request, "Vos préférences de notifications ont été modifiées.", extra_tags="toast") success_url = get_safe_url(request, "success_url", fallback_url=dashboard_url) return HttpResponseRedirect(success_url)