mirror of
https://github.com/discourse/discourse.git
synced 2025-04-26 01:24:29 +08:00
DEV: Update/add plugin outlets to ParentCategoryRow to remove template overrides (#31395)
Description We need to add these plugin modifiers as part of changes made to remove template overrides
This commit is contained in:
parent
d1f3b2fc45
commit
006b5b13d9
@ -25,6 +25,10 @@
|
||||
<th class="main-link">
|
||||
<CategoryTitleLink @category={{this.category}} />
|
||||
</th>
|
||||
<PluginOutlet
|
||||
@name="category-list-after-title-mobile-section"
|
||||
@outletArgs={{hash category=this.category}}
|
||||
/>
|
||||
</tr>
|
||||
{{#if this.category.description_excerpt}}
|
||||
<tr class="category-description">
|
||||
@ -165,6 +169,10 @@
|
||||
@outletArgs={{hash category=this.category}}
|
||||
/>
|
||||
|
||||
<PluginOutlet
|
||||
@name="category-list-topics-wrapper"
|
||||
@outletArgs={{hash category=this.category}}
|
||||
>
|
||||
<td class="topics">
|
||||
<div title={{this.category.statTitle}}>{{html-safe
|
||||
this.category.stat
|
||||
@ -177,12 +185,17 @@
|
||||
class="unread-new"
|
||||
/>
|
||||
</td>
|
||||
</PluginOutlet>
|
||||
|
||||
<PluginOutlet
|
||||
@name="category-list-after-topics-section"
|
||||
@outletArgs={{hash category=this.category}}
|
||||
/>
|
||||
|
||||
<PluginOutlet
|
||||
@name="category-list-latest-wrapper"
|
||||
@outletArgs={{hash category=this.category showTopics=this.showTopics}}
|
||||
>
|
||||
{{#unless this.isMuted}}
|
||||
{{#if this.showTopics}}
|
||||
<td class="latest">
|
||||
@ -200,6 +213,7 @@
|
||||
/>
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
</PluginOutlet>
|
||||
</tr>
|
||||
{{/if}}
|
||||
{{/unless}}
|
Loading…
x
Reference in New Issue
Block a user