mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Updated post list bulk action modals
Refs https://github.com/TryGhost/Team/issues/2923
This commit is contained in:
parent
c8d715167a
commit
bf200561ff
4 changed files with 7 additions and 7 deletions
|
@ -1,10 +1,10 @@
|
||||||
<div class="modal-content" data-test-modal="add-tags">
|
<div class="modal-content" data-test-modal="add-tags">
|
||||||
<header class="modal-header">
|
<header class="modal-header">
|
||||||
<h1>What tags do you want to add?</h1>
|
<h1>Which tags do you want to add?</h1>
|
||||||
</header>
|
</header>
|
||||||
<button type="button" class="close" title="Close" {{on "click" (fn @close false)}} data-test-button="close">{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
<button type="button" class="close" title="Close" {{on "click" (fn @close false)}} data-test-button="close">{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body mb9">
|
||||||
<p>
|
<p>
|
||||||
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="tags">
|
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="tags">
|
||||||
<GhTokenInput
|
<GhTokenInput
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
@selected={{this.selectedTags}}
|
@selected={{this.selectedTags}}
|
||||||
@showCreateWhen={{this.shouldAllowCreate}}
|
@showCreateWhen={{this.shouldAllowCreate}}
|
||||||
@triggerId={{this.triggerId}}
|
@triggerId={{this.triggerId}}
|
||||||
@placeholder="Select one or more tags"
|
@placeholder="Select one or multiple tags"
|
||||||
/>
|
/>
|
||||||
<GhErrorMessage @errors={{this.errors}} @property="tags" />
|
<GhErrorMessage @errors={{this.errors}} @property="tags" />
|
||||||
</GhFormGroup>
|
</GhFormGroup>
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
@runningText="Adding"
|
@runningText="Adding"
|
||||||
@showSuccess={{false}}
|
@showSuccess={{false}}
|
||||||
@task={{this.confirm}}
|
@task={{this.confirm}}
|
||||||
@class="gh-btn gh-btn-green gh-btn-icon"
|
@class="gh-btn gh-btn-primary gh-btn-icon"
|
||||||
data-test-button="confirm"
|
data-test-button="confirm"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
</header>
|
</header>
|
||||||
<button type="button" class="close" title="Close" {{on "click" (fn @close false)}} data-test-button="close">{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
<button type="button" class="close" title="Close" {{on "click" (fn @close false)}} data-test-button="close">{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body mb9">
|
||||||
<p>
|
<p>
|
||||||
You're about to delete <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' posts')}}</strong>.
|
You're about to delete <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' posts')}}</strong>.
|
||||||
This is permanent! We warned you, k?
|
This is permanent! We warned you, k?
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
</header>
|
</header>
|
||||||
<button type="button" class="close" title="Close" {{on "click" (fn @close false)}} data-test-button="close">{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
<button type="button" class="close" title="Close" {{on "click" (fn @close false)}} data-test-button="close">{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body mb9">
|
||||||
<GhFormGroup @errors={{this.post.errors}} @hasValidated={{this.post.hasValidated}} @property="visibility">
|
<GhFormGroup @errors={{this.post.errors}} @hasValidated={{this.post.hasValidated}} @property="visibility">
|
||||||
<GhPsmVisibilityInput @post={{this.post}} @triggerId="visibility-input" />
|
<GhPsmVisibilityInput @post={{this.post}} @triggerId="visibility-input" />
|
||||||
</GhFormGroup>
|
</GhFormGroup>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
</header>
|
</header>
|
||||||
<button type="button" class="close" title="Close" {{on "click" (fn @close false)}} data-test-button="close">{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
<button type="button" class="close" title="Close" {{on "click" (fn @close false)}} data-test-button="close">{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body mb9">
|
||||||
<p>
|
<p>
|
||||||
You're about to revert <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' posts')}}</strong> to a private draft.
|
You're about to revert <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' posts')}}</strong> to a private draft.
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue