DEV: add plugin outlets for user badges (#16334)
This commit is contained in:
parent
4d809e984d
commit
8999de6e5b
|
@ -16,5 +16,6 @@
|
||||||
filterUser="true"
|
filterUser="true"
|
||||||
}}
|
}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
{{plugin-outlet name="after-user-profile-badges"}}
|
||||||
</div>
|
</div>
|
||||||
{{/d-section}}
|
{{/d-section}}
|
||||||
|
|
|
@ -157,6 +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)}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>{{i18n "user.summary.no_badges"}}</p>
|
<p>{{i18n "user.summary.no_badges"}}</p>
|
||||||
|
|
Loading…
Reference in New Issue