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:
Sérgio Saquetim
2024-05-16 19:29:44 -03:00
committed by GitHub
parent cbc564149b
commit 17add599e3

View File

@@ -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>
}