Use bootstrap notify to notify messages

This commit is contained in:
emeric
2018-08-29 15:10:00 +02:00
parent dbe0b81e43
commit 512ae5a0d6
11 changed files with 473 additions and 14 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ UserView::refreshView()
if (model->validate())
{
model->saveData();
LmsApp->notifyMsg(Wt::WString::tr(userId ? "Lms.Admin.User.user-updated" : "Lms.Admin.User.user-created"));
LmsApp->notifyMsg(MsgType::Success, Wt::WString::tr(userId ? "Lms.Admin.User.user-updated" : "Lms.Admin.User.user-created"));
LmsApp->setInternalPath("/admin/users", true);
}
else