mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 04:19:04 +08:00
#6140 Added NotifyType.Success and replaced most usages of NotifyType.Information with it. Added appropriate styles in css files.
Some minor fixes - wrong notification types. Conflicts: src/Orchard.Web/Modules/Orchard.ImportExport/Controllers/AdminController.cs src/Orchard.Web/Modules/Orchard.Taxonomies/Controllers/TermAdminController.cs src/Orchard.Web/Modules/Orchard.Themes/Controllers/AdminController.cs
This commit is contained in:
@@ -155,7 +155,7 @@ namespace Orchard.Roles.Controllers {
|
||||
}
|
||||
_roleService.UpdateRole(viewModel.Id, viewModel.Name, rolePermissions);
|
||||
|
||||
Services.Notifier.Information(T("Your Role has been saved."));
|
||||
Services.Notifier.Success(T("Your Role has been saved."));
|
||||
return RedirectToAction("Edit", new { id });
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ namespace Orchard.Roles.Controllers {
|
||||
return new HttpUnauthorizedResult();
|
||||
|
||||
_roleService.DeleteRole(id);
|
||||
Services.Notifier.Information(T("Role was successfully deleted."));
|
||||
Services.Notifier.Success(T("Role was successfully deleted."));
|
||||
|
||||
return this.RedirectLocal(returnUrl, () => RedirectToAction("Index"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user