2022-04-20 13:08:48 +03:00
|
|
|
<div class="modal-content">
|
|
|
|
<header class="modal-header" data-test-modal="confirm-newsletter-archive">
|
2022-04-21 13:20:24 +03:00
|
|
|
<h1>Archive newsletter</h1>
|
2022-04-20 13:08:48 +03:00
|
|
|
</header>
|
|
|
|
<button type="button" class="close" role="button" title="Close" {{on "click" (fn @close false)}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
|
|
|
|
|
|
|
<div class="modal-body">
|
|
|
|
<p>
|
2022-04-21 13:20:24 +03:00
|
|
|
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.
|
2022-04-20 13:08:48 +03:00
|
|
|
</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)}}
|
|
|
|
>
|
|
|
|
<span>Cancel</span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<GhTaskButton
|
|
|
|
@buttonText="Archive"
|
|
|
|
@runningText="Archiving"
|
2022-04-20 15:15:45 +03:00
|
|
|
@showSuccess={{false}}
|
2022-04-20 13:08:48 +03:00
|
|
|
@task={{@data.archiveNewsletterTask}}
|
|
|
|
@taskArgs={{@data.newsletter}}
|
|
|
|
@class="gh-btn gh-btn-black gh-btn-icon"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|