mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Add new plugin outlets in the header/topic/info component (#27038)
* Add header-topic-info__before and header-topic-info__after outlets
This commit is contained in:
@@ -80,6 +80,10 @@ export default class Info extends Component {
|
||||
<div
|
||||
class={{concatClass (if this.twoRows "two-rows") "extra-info-wrapper"}}
|
||||
>
|
||||
<PluginOutlet
|
||||
@name="header-topic-info__before"
|
||||
@outletArgs={{hash topic=@topic}}
|
||||
/>
|
||||
<div class={{concatClass (if this.twoRows "two-rows") "extra-info"}}>
|
||||
<div class="title-wrapper">
|
||||
<h1 class="header-title">
|
||||
@@ -178,6 +182,10 @@ export default class Info extends Component {
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<PluginOutlet
|
||||
@name="header-topic-info__after"
|
||||
@outletArgs={{hash topic=@topic}}
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user