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
|
@ -21,7 +21,7 @@
|
|||
{{topic-link this.topic}}
|
||||
{{~#if this.topic.featured_link}}
|
||||
{{topic-featured-link this.topic}}
|
||||
{{/if}}{{! intentionally inline
|
||||
{{/if}}{{! intentionally inline
|
||||
to avoid whitespace}}<TopicPostBadges
|
||||
@unreadPosts={{this.topic.unread_posts}}
|
||||
@unseen={{this.topic.unseen}}
|
||||
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
</div>
|
||||
{{~raw-plugin-outlet name="topic-list-after-main-link"}}
|
||||
{{~plugin-outlet name="topic-list-after-main-link" outletArgs=(raw-hash topic=topic)}}
|
||||
<div class='pull-right'>
|
||||
<div class='pull-right'>
|
||||
{{raw "list/post-count-or-badges" topic=topic postBadgesEnabled=showTopicPostBadges}}
|
||||
</div>
|
||||
<div class="topic-item-stats clearfix">
|
||||
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue