DEV: add plugin outlets to accommodate customizations (#30222)

* DEV: add plugin outlets to accommodate customizations

* add the same outlet in glimmer file
This commit is contained in:
Arpit Jalan 2024-12-12 21:27:45 +05:30 committed by GitHub
parent b74007db0a
commit 357189d9e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 2 deletions

View File

@ -33,6 +33,11 @@
this.topic
mode="list"
}}{{! intentionally inline to avoid whitespace}}
<PluginOutlet
@name="below-latest-topic-list-item-bottom-row"
@connectorTagName="span"
@outletArgs={{hash topic=this.topic}}
/>
</div>
</div>
<div class="topic-stats">

View File

@ -65,6 +65,11 @@ export default class LatestTopicListItem extends Component {
<div class="bottom-row">
{{categoryLink @topic.category~}}
{{~discourseTags @topic mode="list"}}
<PluginOutlet
@name="below-latest-topic-list-item-bottom-row"
@connectorTagName="span"
@outletArgs={{hash topic=@topic}}
/>
</div>
</div>

View File

@ -57,6 +57,7 @@
href="{{topic.lastPostUrl}}">{{format-date topic.bumpedAt format="tiny" noTitle="true"}}</a>
</span>
</div>
{{~plugin-outlet name="topic-list-after-topic-item-stats" outletArgs=(raw-hash topic=topic)}}
</div>
{{~raw-plugin-outlet name="topic-list-after-columns"}}
</td>