mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:02:46 +08: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:
parent
cbc564149b
commit
17add599e3
|
@ -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>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user