mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
ea9c8c03fe
refs https://github.com/TryGhost/Ghost/pull/15550 Pulled out of the rolled up node+ember-js+ember-template rollup linter update PR as it required fairly extensive changes. - bumped package - renamed `no-down-event-binding` to `no-pointer-down-event-binding` - disabled `no-pointer-down-event-binding` rule - disabled `no-triple-curlies` rule - ran `yarn lint:hbs --fix` - updated integration tests to match Octane syntax - fixed various one-off errors - updated .lint-todo
37 lines
1.3 KiB
Handlebars
37 lines
1.3 KiB
Handlebars
<div class="modal-content">
|
|
<header class="modal-header" data-test-modal="confirm-newsletter-archive">
|
|
<h1>Archive newsletter</h1>
|
|
</header>
|
|
<button type="button" class="close" title="Close" {{on "click" (fn @close false)}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
|
|
|
<div class="modal-body">
|
|
<p>
|
|
Your newsletter <strong>{{@data.newsletter.name}}</strong> will no longer be visible to members or available as an option when publishing new posts.
|
|
</p>
|
|
<p>
|
|
Existing posts previously sent as this newsletter will remain unchanged.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="modal-footer" {{on-key "Enter" (perform @data.archiveNewsletterTask @data.newsletter)}}>
|
|
<button
|
|
type="button"
|
|
class="gh-btn"
|
|
{{on "click" (fn @close false)}}
|
|
data-test-button="cancel-newsletter-archive"
|
|
>
|
|
<span>Cancel</span>
|
|
</button>
|
|
|
|
<GhTaskButton
|
|
@buttonText="Archive"
|
|
@runningText="Archiving"
|
|
@showSuccess={{false}}
|
|
@task={{@data.archiveNewsletterTask}}
|
|
@taskArgs={{@data.newsletter}}
|
|
@class="gh-btn gh-btn-black gh-btn-icon"
|
|
data-test-button="confirm-newsletter-archive"
|
|
/>
|
|
</div>
|
|
</div>
|