DEV: Add a couple PluginOutlets to admin theme show (#24184)

This commit is contained in:
Mark VanLandingham 2023-10-31 13:34:29 -05:00 committed by GitHub
parent 9c01937ec6
commit e58efa2c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,10 @@
{{/if}} {{/if}}
</div> </div>
<PluginOutlet
@name="admin-customize-theme-before-errors"
@outletArgs={{hash theme=this.model}}
/>
{{#each this.model.errors as |error|}} {{#each this.model.errors as |error|}}
<div class="alert alert-error">{{error}}</div> <div class="alert alert-error">{{error}}</div>
{{/each}} {{/each}}
@ -452,8 +456,11 @@
</div> </div>
{{/if}} {{/if}}
<PluginOutlet
@name="admin-customize-theme-before-controls"
@outletArgs={{hash theme=this.model}}
/>
<div class="theme-controls"> <div class="theme-controls">
<a <a
href={{this.previewUrl}} href={{this.previewUrl}}
title={{i18n "admin.customize.explain_preview"}} title={{i18n "admin.customize.explain_preview"}}