mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 14:13:38 +08:00
DEV: adds before-header-logo outlet (#25196)
This commit is contained in:
parent
7bad0b1d8a
commit
5627355c8c
|
@ -0,0 +1,8 @@
|
|||
import { hbs } from "ember-cli-htmlbars";
|
||||
import { registerWidgetShim } from "discourse/widgets/render-glimmer";
|
||||
|
||||
registerWidgetShim(
|
||||
"before-header-logo-outlet",
|
||||
"div.before-header-logo-outlet",
|
||||
hbs`<PluginOutlet @name="before-header-logo" @outletArgs={{hash attrs=@data}} /> `
|
||||
);
|
|
@ -15,6 +15,8 @@ createWidget("header-contents", {
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{before-header-logo-outlet attrs=attrs}}
|
||||
|
||||
{{home-logo-wrapper-outlet attrs=attrs}}
|
||||
|
||||
{{#if attrs.topic}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user