From f82136e55925081aacd19495a6d68d8213a49f9f Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 15 Feb 2017 18:31:40 +0530 Subject: [PATCH] users: Show and consume messages in user edit & password change --- plinth/modules/users/templates/users_change_password.html | 2 ++ plinth/modules/users/templates/users_update.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/plinth/modules/users/templates/users_change_password.html b/plinth/modules/users/templates/users_change_password.html index 70972603b..b4def757f 100644 --- a/plinth/modules/users/templates/users_change_password.html +++ b/plinth/modules/users/templates/users_change_password.html @@ -23,6 +23,8 @@ {% block content_row %}
+ {% include 'messages.html' %} +

{% blocktrans trimmed with username=form.user.username %} Change Password for {{ username }} diff --git a/plinth/modules/users/templates/users_update.html b/plinth/modules/users/templates/users_update.html index 9c0fd28a9..fe689a2a6 100644 --- a/plinth/modules/users/templates/users_update.html +++ b/plinth/modules/users/templates/users_update.html @@ -31,6 +31,8 @@ {% block content_row %}
+ {% include 'messages.html' %} +

{{ object.username }}