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"
|
@name="topic-list-before-status"
|
||||||
@outletArgs={{hash topic=@topic}}
|
@outletArgs={{hash topic=@topic}}
|
||||||
/>
|
/>
|
||||||
|
{{~! no whitespace ~}}
|
||||||
|
<PluginOutlet
|
||||||
|
@name="topic-list-topic-cell-link-top-line"
|
||||||
|
@outletArgs={{hash topic=@topic tagsForUser=@tagsForUser}}
|
||||||
|
>
|
||||||
{{~! no whitespace ~}}
|
{{~! no whitespace ~}}
|
||||||
<TopicStatus @topic={{@topic}} />
|
<TopicStatus @topic={{@topic}} />
|
||||||
{{~! no whitespace ~}}
|
{{~! no whitespace ~}}
|
||||||
@ -88,9 +93,14 @@ export default class TopicCell extends Component {
|
|||||||
@url={{@topic.lastUnreadUrl}}
|
@url={{@topic.lastUnreadUrl}}
|
||||||
/>
|
/>
|
||||||
{{~/if~}}
|
{{~/if~}}
|
||||||
|
</PluginOutlet>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="link-bottom-line">
|
<div class="link-bottom-line">
|
||||||
|
<PluginOutlet
|
||||||
|
@name="topic-list-topic-cell-link-bottom-line"
|
||||||
|
@outletArgs={{hash topic=@topic tagsForUser=@tagsForUser}}
|
||||||
|
>
|
||||||
{{#unless @hideCategory}}
|
{{#unless @hideCategory}}
|
||||||
{{#unless @topic.isPinnedUncategorized}}
|
{{#unless @topic.isPinnedUncategorized}}
|
||||||
<PluginOutlet
|
<PluginOutlet
|
||||||
@ -117,6 +127,7 @@ export default class TopicCell extends Component {
|
|||||||
@icon="heart"
|
@icon="heart"
|
||||||
class="likes"
|
class="likes"
|
||||||
/>
|
/>
|
||||||
|
</PluginOutlet>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if @expandPinned}}
|
{{#if @expandPinned}}
|
||||||
|
Loading…
Reference in New Issue
Block a user