2020-10-26 20:09:09 +03:00
<header class="modal-header">
2020-10-28 15:30:26 +03:00
<h1>Confirm snippet deletion</h1>
2020-10-26 20:09:09 +03:00
</header>
<a class="close" href="" role="button" title="Close" {{ action "closeModal" }} > {{ svg-jar "close" }} <span class="hidden">Close</span></a>
<div class="modal-body">
<p>
2020-10-28 15:30:26 +03:00
You're about to delete the "<strong> {{ this .snippet .name }} </strong>" snippet. This is permanent, and will delete the snippet for all staff users. It will <strong>not</strong> change any posts where you’ ve used this snippet in the past.
2020-10-26 20:09:09 +03:00
</p>
</div>
<div class="modal-footer">
<button {{ action "closeModal" }} class="gh-btn"><span>Cancel</span></button>
<GhTaskButton
2020-10-28 15:45:13 +03:00
@buttonText="Delete snippet"
2020-10-26 20:09:09 +03:00
@successText="Deleted"
@task= {{ this .deleteSnippet }}
@taskArgs= {{ this .snippet }}
@class="gh-btn gh-btn-red gh-btn-icon" />
</div>