maliming
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/BlogPosts/index.js
|
|
|
@ -28,14 +28,14 @@ $(function () { |
|
|
|
items: [ |
|
|
|
{ |
|
|
|
text: l('Edit'), |
|
|
|
visible: abp.auth.isGranted('CmsKit.Blogs.Update'), |
|
|
|
visible: abp.auth.isGranted('CmsKit.BlogPosts.Update'), |
|
|
|
action: function (data) { |
|
|
|
location.href = "BlogPosts/Update/" + data.record.id |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: l('Delete'), |
|
|
|
visible: abp.auth.isGranted('CmsKit.Blogs.Delete'), |
|
|
|
visible: abp.auth.isGranted('CmsKit.BlogPosts.Delete'), |
|
|
|
confirmMessage: function (data) { |
|
|
|
return l("BlogPostDeletionConfirmationMessage", data.record.title) |
|
|
|
}, |
|
|
|
@ -83,4 +83,4 @@ $(function () { |
|
|
|
e.preventDefault(); |
|
|
|
window.location.href = "BlogPosts/Create" |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|