mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Add wrapper outlet around the topic cell top and bottom lines (#30848)
This commit is contained in:
parent
e2c3dff669
commit
a99bb0caff
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user