mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 02:44:33 +03:00
7ce5abb155
Refs https://github.com/TryGhost/Product/issues/4218 - Moving the TK confirmation step into a small modal as a more lightweight solution --------- Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
18 lines
844 B
Handlebars
18 lines
844 B
Handlebars
<div class="modal-content gh-tk-reminder" data-test-modal="tk-reminder">
|
|
<header class="modal-header">
|
|
<h1>Forget something?</h1>
|
|
</header>
|
|
<button type="button" class="close" title="Close" {{on "click" @close}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
|
|
|
<div class="modal-body">
|
|
<p>
|
|
Looks like you've got some unfinished business.
|
|
There {{if (eq @data.tkCount 1) "is" "are" }} <strong>{{gh-pluralize @data.tkCount "TK reminder"}}</strong> left in your post.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button type="button" class="gh-btn" {{on "click" (fn @close true)}}><span>Continue to publish</span></button>
|
|
<button type="button" class="gh-btn gh-btn-black" {{on "click" @close}}><span>Back to editor</span></button>
|
|
</div>
|
|
</div> |