Ghost/ghost/admin/app/components/modals/newsletters/confirm-unarchive.hbs
Kevin Ansfield ea9c8c03fe
Update dependency ember-template-lint to v5.3.0 (#16062)
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
2023-01-04 09:39:32 +00:00

34 lines
1.2 KiB
Handlebars

<div class="modal-content">
<header class="modal-header" data-test-modal="confirm-newsletter-reactivate">
<h1>Reactivate 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>
Reactivating <strong>{{@data.newsletter.name}}</strong> will immediately make it visible to members and re-enable it as an option when publishing new posts.
</p>
</div>
<div class="modal-footer" {{on-key "Enter" (perform @data.unarchiveNewsletterTask @data.newsletter)}}>
<button
type="button"
class="gh-btn"
data-test-button="cancel-newsletter-reactivate"
{{on "click" (fn @close false)}}
>
<span>Cancel</span>
</button>
<GhTaskButton
@buttonText="Reactivate"
@runningText="Reactivating"
@showSuccess={{false}}
@task={{@data.unarchiveNewsletterTask}}
@taskArgs={{@data.newsletter}}
@class="gh-btn gh-btn-black gh-btn-icon"
data-test-button="confirm-newsletter-reactivate"
/>
</div>
</div>