2023-04-07 12:48:14 +03:00
|
|
|
<ul class="gh-posts-context-menu dropdown-menu dropdown-triangle-top-left">
|
2023-04-12 16:28:09 +03:00
|
|
|
|
|
|
|
{{#if this.canUnpublishSelection}}
|
|
|
|
<li>
|
|
|
|
<button class="mr2" type="button" {{on "click" this.unpublishPosts}}>
|
2023-04-12 19:18:01 +03:00
|
|
|
<span>{{svg-jar "undo"}}Unpublish</span>
|
2023-04-12 16:28:09 +03:00
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2023-04-11 09:25:49 +03:00
|
|
|
{{#if this.canFeatureSelection}}
|
|
|
|
{{#if this.shouldFeatureSelection }}
|
2023-04-07 12:48:14 +03:00
|
|
|
<li>
|
2023-04-11 09:25:49 +03:00
|
|
|
<button class="mr2" type="button" {{on "click" this.featurePosts}}>
|
2023-05-15 11:30:32 +03:00
|
|
|
<span>{{svg-jar "star" class="mb1 star"}}Feature</span>
|
2023-04-11 09:25:49 +03:00
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
|
|
|
<li>
|
|
|
|
<button class="mr2" type="button" {{on "click" this.unfeaturePosts}}>
|
2023-04-12 19:18:01 +03:00
|
|
|
<span>{{svg-jar "star" class="mb1"}}Unfeature</span>
|
2023-04-11 09:25:49 +03:00
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2023-04-07 12:48:14 +03:00
|
|
|
{{/if}}
|
|
|
|
<li>
|
2023-04-13 17:17:36 +03:00
|
|
|
<button class="mr2" type="button" {{on "click" this.addTagToPosts}}>
|
2023-04-12 19:18:01 +03:00
|
|
|
<span>{{svg-jar "tag"}}Add a tag</span>
|
2023-04-07 12:48:14 +03:00
|
|
|
</button>
|
|
|
|
</li>
|
2023-04-13 18:54:01 +03:00
|
|
|
{{#if this.membersUtils.isMembersEnabled}}
|
|
|
|
<li>
|
|
|
|
<button class="mr2" type="button" {{on "click" this.editPostsAccess}}>
|
|
|
|
<span>{{svg-jar "lock"}}Change access</span>
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2023-04-11 17:32:11 +03:00
|
|
|
{{#if this.session.user.isAdmin}}
|
2023-05-15 11:30:32 +03:00
|
|
|
{{#if this.canCopySelection}}
|
|
|
|
<li>
|
|
|
|
<button class="mr2" type="button" {{on "click" this.copyPosts}}>
|
|
|
|
<span>{{svg-jar "duplicate"}}Duplicate</span>
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2023-04-11 17:32:11 +03:00
|
|
|
<li>
|
|
|
|
<button class="mr2" type="button" {{on "click" this.deletePosts}}>
|
2023-04-12 19:18:01 +03:00
|
|
|
<span class="red">{{svg-jar "trash"}}Delete</span>
|
2023-04-11 17:32:11 +03:00
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2023-04-07 12:48:14 +03:00
|
|
|
</ul>
|