2021-08-23 19:12:26 +03:00
|
|
|
<header class="modal-header">
|
|
|
|
<h1>Update this snippet?</h1>
|
|
|
|
</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>
|
2021-08-24 11:13:13 +03:00
|
|
|
"<strong>{{this.snippet.name}}</strong>" will be overwritten.
|
|
|
|
Don't worry, this will only affect using the snippet in the future.
|
|
|
|
Any older posts using this snippet will stay the same.
|
2021-08-23 19:12:26 +03:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
2022-02-02 19:09:43 +03:00
|
|
|
<button class="gh-btn" type="button" {{action "closeModal"}}><span>Cancel</span></button>
|
2021-08-23 19:12:26 +03:00
|
|
|
<GhTaskButton
|
|
|
|
@buttonText="Update"
|
|
|
|
@successText="Updated"
|
|
|
|
@task={{this.updateSnippet}}
|
2021-08-24 11:13:13 +03:00
|
|
|
@class="gh-btn gh-btn-black gh-btn-icon" />
|
2021-08-23 19:12:26 +03:00
|
|
|
</div>
|