|
|
@ -92,7 +92,7 @@ namespace Volo.CmsKit.Admin.Web |
|
|
toolbar => |
|
|
toolbar => |
|
|
{ |
|
|
{ |
|
|
toolbar.AddButton( |
|
|
toolbar.AddButton( |
|
|
LocalizableString.Create<CmsKitResource>("New"), |
|
|
LocalizableString.Create<CmsKitResource>("NewTag"), |
|
|
icon: "plus", |
|
|
icon: "plus", |
|
|
name: "NewButton", |
|
|
name: "NewButton", |
|
|
requiredPolicyName: CmsKitAdminPermissions.Tags.Create |
|
|
requiredPolicyName: CmsKitAdminPermissions.Tags.Create |
|
|
@ -104,7 +104,7 @@ namespace Volo.CmsKit.Admin.Web |
|
|
toolbar => |
|
|
toolbar => |
|
|
{ |
|
|
{ |
|
|
toolbar.AddButton( |
|
|
toolbar.AddButton( |
|
|
LocalizableString.Create<CmsKitResource>("New"), |
|
|
LocalizableString.Create<CmsKitResource>("NewPage"), |
|
|
icon: "plus", |
|
|
icon: "plus", |
|
|
name: "CreatePage", |
|
|
name: "CreatePage", |
|
|
requiredPolicyName: CmsKitAdminPermissions.Pages.Create |
|
|
requiredPolicyName: CmsKitAdminPermissions.Pages.Create |
|
|
@ -115,7 +115,7 @@ namespace Volo.CmsKit.Admin.Web |
|
|
toolbar => |
|
|
toolbar => |
|
|
{ |
|
|
{ |
|
|
toolbar.AddButton( |
|
|
toolbar.AddButton( |
|
|
LocalizableString.Create<CmsKitResource>("New"), |
|
|
LocalizableString.Create<CmsKitResource>("NewBlog"), |
|
|
icon: "plus", |
|
|
icon: "plus", |
|
|
name: "CreateBlog", |
|
|
name: "CreateBlog", |
|
|
id: "CreateBlog", |
|
|
id: "CreateBlog", |
|
|
@ -127,7 +127,7 @@ namespace Volo.CmsKit.Admin.Web |
|
|
toolbar => |
|
|
toolbar => |
|
|
{ |
|
|
{ |
|
|
toolbar.AddButton( |
|
|
toolbar.AddButton( |
|
|
LocalizableString.Create<CmsKitResource>("New"), |
|
|
LocalizableString.Create<CmsKitResource>("NewBlogPost"), |
|
|
icon: "plus", |
|
|
icon: "plus", |
|
|
name: "CreateBlogPost", |
|
|
name: "CreateBlogPost", |
|
|
id: "CreateBlogPost", |
|
|
id: "CreateBlogPost", |
|
|
|