mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
DEV: Add plugin outlets before and after the header content (#27530)
This commit is contained in:
parent
b2a9676f0b
commit
4ced8f80ac
@ -29,6 +29,10 @@ export default class Contents extends Component {
|
||||
|
||||
<template>
|
||||
<div class="contents">
|
||||
<PluginOutlet
|
||||
@name="header-contents__before"
|
||||
@outletArgs={{hash topic=this.header.topic}}
|
||||
/>
|
||||
{{#if this.site.desktopView}}
|
||||
{{#if @sidebarEnabled}}
|
||||
<SidebarToggle
|
||||
@ -72,6 +76,10 @@ export default class Contents extends Component {
|
||||
@outletArgs={{hash topic=this.header.topic}}
|
||||
/>
|
||||
</div>
|
||||
<PluginOutlet
|
||||
@name="header-contents__after"
|
||||
@outletArgs={{hash topic=this.header.topic}}
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user