mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 06:12:03 +03:00
f0824225fd
refs https://github.com/TryGhost/Team/issues/480 - switched marketplace themes to a selection of Ghost's own free themes - added install and preview buttons for all - show theme screenshot in the install modal if it's a known theme
14 lines
784 B
Handlebars
14 lines
784 B
Handlebars
<header class="modal-header" data-test-delete-theme-modal>
|
|
<h1>Are you sure you want to delete this</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>You're about to delete "<strong>{{this.theme.label}}</strong>". This is permanent! We warned you, k? Maybe <a href="#" {{action this.download}}>download your theme before continuing</a></p>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button {{action "closeModal"}} class="gh-btn" data-test-cancel-button><span>Cancel</span></button>
|
|
<GhTaskButton @buttonText="Delete" @successText="Deleted" @task={{this.deleteTheme}} @class="gh-btn gh-btn-red gh-btn-icon" data-test-delete-button="true" />
|
|
</div>
|