2022-04-20 15:15:45 +03:00
<div class="modal-content">
2022-06-02 11:39:17 +03:00
<header class="modal-header" data-test-modal="confirm-newsletter-reactivate">
2022-04-21 13:20:24 +03:00
<h1>Reactivate newsletter</h1>
2022-04-20 15:15:45 +03:00
</header>
2023-01-04 12:39:32 +03:00
<button type="button" class="close" title="Close" {{ on "click" ( fn @ close false ) }} > {{ svg-jar "close" }} <span class="hidden">Close</span></button>
2022-04-20 15:15:45 +03:00
<div class="modal-body">
<p>
2022-04-21 13:20:24 +03:00
Reactivating <strong> {{ @ data .newsletter .name }} </strong> will immediately make it visible to members and re-enable it as an option when publishing new posts.
2022-04-20 15:15:45 +03:00
</p>
</div>
<div class="modal-footer" {{ on-key "Enter" ( perform @ data .unarchiveNewsletterTask @ data .newsletter ) }} >
<button
type="button"
class="gh-btn"
2022-06-02 11:39:17 +03:00
data-test-button="cancel-newsletter-reactivate"
2022-04-20 15:15:45 +03:00
{{ 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"
2022-06-02 11:39:17 +03:00
data-test-button="confirm-newsletter-reactivate"
2022-04-20 15:15:45 +03:00
/>
</div>
2022-06-02 11:39:17 +03:00
</div>