DEV: Add plugin wrapper to avoid template override in plugins (#30004)
* DEV: Add plugin wrapper to avoid template override in plugins * added plugin wrapper * linter issues * added suggested change Co-authored-by: Jarek Radosz <jradosz@gmail.com> * added suggested changes --------- Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
parent
5ad09f7564
commit
555ca4da55
|
@ -1,11 +1,21 @@
|
|||
<div class="user-profile-avatar">
|
||||
{{bound-avatar @user "huge"}}
|
||||
<UserAvatarFlair @user={{@user}} />
|
||||
<div>
|
||||
<PluginOutlet
|
||||
@name="user-profile-avatar-wrapper"
|
||||
@outletArgs={{hash user=@user}}
|
||||
>
|
||||
<div class="user-profile-avatar">
|
||||
<PluginOutlet
|
||||
@name="user-profile-avatar-flair"
|
||||
@connectorTagName="div"
|
||||
@outletArgs={{hash model=@user}}
|
||||
/>
|
||||
@name="user-profile-avatar-img-wrapper"
|
||||
@outletArgs={{hash user=@user}}
|
||||
>
|
||||
{{bound-avatar @user "huge"}}
|
||||
</PluginOutlet>
|
||||
|
||||
<UserAvatarFlair @user={{@user}} />
|
||||
<div>
|
||||
<PluginOutlet
|
||||
@name="user-profile-avatar-flair"
|
||||
@outletArgs={{hash model=@user}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</PluginOutlet>
|
Loading…
Reference in New Issue