mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Added delete post functionality
This commit is contained in:
parent
20991eea28
commit
15220d284c
1 changed files with 8 additions and 8 deletions
|
@ -48,9 +48,9 @@
|
||||||
<span class="dropdown">
|
<span class="dropdown">
|
||||||
<GhDropdownButton
|
<GhDropdownButton
|
||||||
@dropdownName="analytics-actions-menu"
|
@dropdownName="analytics-actions-menu"
|
||||||
@classNames="gh-btn gh-btn-icon icon-only gh-btn-action-icon"
|
@classNames="gh-post-list-cta gh-btn gh-btn-icon icon-only gh-btn-action-icon"
|
||||||
@title="Analytics Actions"
|
@title="Analytics Actions"
|
||||||
data-test-button="member-actions"
|
data-test-button="analytics-actions"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
{{svg-jar "dotdotdot"}}
|
{{svg-jar "dotdotdot"}}
|
||||||
|
@ -66,8 +66,8 @@
|
||||||
<button
|
<button
|
||||||
class="mr2"
|
class="mr2"
|
||||||
type="button"
|
type="button"
|
||||||
{{on "click" this.toggleImpersonateMemberModal}}
|
{{!-- {{on "click" this.toggleImpersonateMemberModal}} --}}
|
||||||
data-test-button="impersonate"
|
data-test-button="edit-post"
|
||||||
>
|
>
|
||||||
<span>Edit post</span>
|
<span>Edit post</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -76,8 +76,8 @@
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="mr2"
|
class="mr2"
|
||||||
{{on "click" this.confirmLogoutMember}}
|
{{!-- {{on "click" this.confirmLogoutMember}} --}}
|
||||||
data-test-button="logout-member"
|
data-test-button="view-post"
|
||||||
>
|
>
|
||||||
<span>View in browser</span>
|
<span>View in browser</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -86,8 +86,8 @@
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="mr2"
|
class="mr2"
|
||||||
{{on "click" this.confirmDeleteMember}}
|
{{on "click" this.deletePosts}}
|
||||||
data-test-button="delete-member"
|
data-test-button="delete-post"
|
||||||
>
|
>
|
||||||
<span class="red">Delete post</span>
|
<span class="red">Delete post</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Add table
Reference in a new issue