DEV: pass user to user-summary outlets
This commit is contained in:
parent
819038537c
commit
e54440a035
|
@ -46,7 +46,7 @@
|
||||||
{{user-stat value=model.post_count label="user.summary.post_count"}}
|
{{user-stat value=model.post_count label="user.summary.post_count"}}
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
</li>
|
</li>
|
||||||
{{plugin-outlet name="user-summary-stat" connectorTagName="li" args=(hash model=model)}}
|
{{plugin-outlet name="user-summary-stat" connectorTagName="li" args=(hash model=model user=user)}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
{{#each model.badges as |badge|}}
|
{{#each model.badges as |badge|}}
|
||||||
{{badge-card badge=badge count=badge.count username=user.username_lower}}
|
{{badge-card badge=badge count=badge.count username=user.username_lower}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{plugin-outlet name="after-user-summary-badges" args=(hash model=model)}}
|
{{plugin-outlet name="after-user-summary-badges" args=(hash model=model user=user)}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>{{i18n "user.summary.no_badges"}}</p>
|
<p>{{i18n "user.summary.no_badges"}}</p>
|
||||||
|
|
Loading…
Reference in New Issue