DEV: add plugin outlets for user badges (#16334)

This commit is contained in:
Kris
2022-03-30 19:59:45 -04:00
committed by GitHub
parent 4d809e984d
commit 8999de6e5b
2 changed files with 2 additions and 0 deletions

View File

@@ -16,5 +16,6 @@
filterUser="true"
}}
{{/each}}
{{plugin-outlet name="after-user-profile-badges"}}
</div>
{{/d-section}}

View File

@@ -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>