mirror of
https://github.com/discourse/discourse.git
synced 2024-12-20 20:26:31 +08:00
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:
parent
b74007db0a
commit
357189d9e7
|
@ -33,6 +33,11 @@
|
||||||
this.topic
|
this.topic
|
||||||
mode="list"
|
mode="list"
|
||||||
}}{{! intentionally inline to avoid whitespace}}
|
}}{{! intentionally inline to avoid whitespace}}
|
||||||
|
<PluginOutlet
|
||||||
|
@name="below-latest-topic-list-item-bottom-row"
|
||||||
|
@connectorTagName="span"
|
||||||
|
@outletArgs={{hash topic=this.topic}}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="topic-stats">
|
<div class="topic-stats">
|
||||||
|
|
|
@ -65,6 +65,11 @@ export default class LatestTopicListItem extends Component {
|
||||||
<div class="bottom-row">
|
<div class="bottom-row">
|
||||||
{{categoryLink @topic.category~}}
|
{{categoryLink @topic.category~}}
|
||||||
{{~discourseTags @topic mode="list"}}
|
{{~discourseTags @topic mode="list"}}
|
||||||
|
<PluginOutlet
|
||||||
|
@name="below-latest-topic-list-item-bottom-row"
|
||||||
|
@connectorTagName="span"
|
||||||
|
@outletArgs={{hash topic=@topic}}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
href="{{topic.lastPostUrl}}">{{format-date topic.bumpedAt format="tiny" noTitle="true"}}</a>
|
href="{{topic.lastPostUrl}}">{{format-date topic.bumpedAt format="tiny" noTitle="true"}}</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
{{~plugin-outlet name="topic-list-after-topic-item-stats" outletArgs=(raw-hash topic=topic)}}
|
||||||
</div>
|
</div>
|
||||||
{{~raw-plugin-outlet name="topic-list-after-columns"}}
|
{{~raw-plugin-outlet name="topic-list-after-columns"}}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user