Skip to content

A platform for community discussion. Free, open, simple.

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

Mark VanLandinghame58efa2c2ed2
diff --git a/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs b/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs
index 002420bb2e6..e4e28247a49 100644
--- a/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs
+++ b/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs
@@ -29,6 +29,10 @@
{{/if}}
</div>
+ <PluginOutlet
+ @name="admin-customize-theme-before-errors"
+ @outletArgs={{hash theme=this.model}}
+ />
{{#each this.model.errors as |error|}}
<div class="alert alert-error">{{error}}</div>
{{/each}}
@@ -452,8 +456,11 @@
</div>
{{/if}}
+ <PluginOutlet
+ @name="admin-customize-theme-before-controls"
+ @outletArgs={{hash theme=this.model}}
+ />
<div class="theme-controls">
-
<a
href={{this.previewUrl}}
title={{i18n "admin.customize.explain_preview"}}