mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Add a couple PluginOutlets to admin theme show (#24184)
This commit is contained in:
parent
9c01937ec6
commit
e58efa2c2e
@ -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"}}
|
||||||
|
Loading…
Reference in New Issue
Block a user