DEV: Add wrapper outlet around the topic cell top and bottom lines (#30848)

This commit is contained in:
Sérgio Saquetim 2025-01-20 15:10:14 -03:00 committed by GitHub
parent e2c3dff669
commit a99bb0caff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,6 +61,11 @@ export default class TopicCell extends Component {
@name="topic-list-before-status"
@outletArgs={{hash topic=@topic}}
/>
{{~! no whitespace ~}}
<PluginOutlet
@name="topic-list-topic-cell-link-top-line"
@outletArgs={{hash topic=@topic tagsForUser=@tagsForUser}}
>
{{~! no whitespace ~}}
<TopicStatus @topic={{@topic}} />
{{~! no whitespace ~}}
@ -88,9 +93,14 @@ export default class TopicCell extends Component {
@url={{@topic.lastUnreadUrl}}
/>
{{~/if~}}
</PluginOutlet>
</span>
<div class="link-bottom-line">
<PluginOutlet
@name="topic-list-topic-cell-link-bottom-line"
@outletArgs={{hash topic=@topic tagsForUser=@tagsForUser}}
>
{{#unless @hideCategory}}
{{#unless @topic.isPinnedUncategorized}}
<PluginOutlet
@ -117,6 +127,7 @@ export default class TopicCell extends Component {
@icon="heart"
class="likes"
/>
</PluginOutlet>
</div>
{{#if @expandPinned}}