mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: add plugin outlets for user badges (#16334)
This commit is contained in:
@@ -16,5 +16,6 @@
|
||||
filterUser="true"
|
||||
}}
|
||||
{{/each}}
|
||||
{{plugin-outlet name="after-user-profile-badges"}}
|
||||
</div>
|
||||
{{/d-section}}
|
||||
|
||||
@@ -157,6 +157,7 @@
|
||||
{{#each model.badges as |badge|}}
|
||||
{{badge-card badge=badge count=badge.count username=user.username_lower}}
|
||||
{{/each}}
|
||||
{{plugin-outlet name="after-user-summary-badges" args=(hash model=model)}}
|
||||
</div>
|
||||
{{else}}
|
||||
<p>{{i18n "user.summary.no_badges"}}</p>
|
||||
|
||||
Reference in New Issue
Block a user