DEV: Add plugin wrappers required to fix template overrides (#29825)
* DEV: Add plugin wrappers required to fix tempalte overrides * updated search-result-entry file * activity file unintended changes fixed
This commit is contained in:
parent
cf2b4d9934
commit
31dadc8373
|
@ -1,11 +1,18 @@
|
|||
<PluginOutlet
|
||||
@name="search-results-topic-avatar-wrapper"
|
||||
@outletArgs={{hash post=this.post}}
|
||||
>
|
||||
<div class="author">
|
||||
<a href={{this.post.userPath}} data-user-card={{this.post.username}}>
|
||||
{{avatar this.post imageSize="large"}}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</PluginOutlet>
|
||||
|
||||
<div class="fps-topic" data-topic-id={{this.post.topic.id}}>
|
||||
<div class="topic">
|
||||
|
||||
{{#if this.bulkSelectEnabled}}
|
||||
<TrackSelected
|
||||
@selectedList={{this.selected}}
|
||||
|
@ -55,6 +62,10 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<PluginOutlet
|
||||
@name="search-result-entry-blurb-wrapper"
|
||||
@outletArgs={{hash post=this.post logClick=this.logClick}}
|
||||
>
|
||||
<div class="blurb container">
|
||||
<span class="date">
|
||||
{{format-date this.post.created_at format="tiny"}}
|
||||
|
@ -73,7 +84,12 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</PluginOutlet>
|
||||
|
||||
<PluginOutlet
|
||||
@name="search-result-entry-stats-wrapper"
|
||||
@outletArgs={{hash post=this.post}}
|
||||
>
|
||||
{{#if this.showLikeCount}}
|
||||
{{#if this.post.like_count}}
|
||||
<span class="like-count">
|
||||
|
@ -82,6 +98,7 @@
|
|||
</span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</PluginOutlet>
|
||||
</div>
|
||||
|
||||
<PluginOutlet @name="after-search-result-entry" />
|
|
@ -1,5 +1,5 @@
|
|||
{{body-class "user-activity-page"}}
|
||||
|
||||
<PluginOutlet @name="user-activity-navigation-wrapper">
|
||||
<div class="user-navigation user-navigation-secondary">
|
||||
<HorizontalOverflowNav @ariaLabel="User secondary - activity">
|
||||
<DNavigationItem
|
||||
|
@ -89,7 +89,7 @@
|
|||
/>
|
||||
</HorizontalOverflowNav>
|
||||
</div>
|
||||
|
||||
</PluginOutlet>
|
||||
<section class="user-content" id="user-content">
|
||||
{{outlet}}
|
||||
</section>
|
Loading…
Reference in New Issue