Ghost/ghost/admin/app/components/modal-post-history.hbs

25 lines
881 B
Handlebars
Raw Normal View History

{{!-- template-lint-disable no-invalid-interactive --}}
2023-04-17 18:40:32 +03:00
<div class="gh-post-history">
<div class="modal-fullsettings-sidebar-labs">
<div class="modal-fullsettings-sidebar-header">
<h2 class="modal-fullsettings-heading-labs">Post history</h2>
<button
2023-04-17 18:40:32 +03:00
type="button" {{action "closeModal"}}
class="gh-btn-icon"
{{!-- disable mouseDown so it doesn't trigger focus-out validations --}}
{{on "mousedown" (optional this.noop)}}
>
2023-04-17 18:40:32 +03:00
{{svg-jar "close"}}
</button>
</div>
{{!-- {{#each this.post.post_revisions as |revision|}}
<div>{{revision.lexical}}</div>
{{/each}} --}}
2023-04-17 18:40:32 +03:00
</div>
<div class="gh-post-history-main">
<div>
{{{this.postDiff}}}
</div>
</div>
</div>