From 8999de6e5bb32c55c63f96fafe68bf36c8d62cbc Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 30 Mar 2022 19:59:45 -0400 Subject: [PATCH] DEV: add plugin outlets for user badges (#16334) --- app/assets/javascripts/discourse/app/templates/user/badges.hbs | 1 + app/assets/javascripts/discourse/app/templates/user/summary.hbs | 1 + 2 files changed, 2 insertions(+) diff --git a/app/assets/javascripts/discourse/app/templates/user/badges.hbs b/app/assets/javascripts/discourse/app/templates/user/badges.hbs index 8c207965692..45c86ecd17b 100644 --- a/app/assets/javascripts/discourse/app/templates/user/badges.hbs +++ b/app/assets/javascripts/discourse/app/templates/user/badges.hbs @@ -16,5 +16,6 @@ filterUser="true" }} {{/each}} + {{plugin-outlet name="after-user-profile-badges"}} {{/d-section}} diff --git a/app/assets/javascripts/discourse/app/templates/user/summary.hbs b/app/assets/javascripts/discourse/app/templates/user/summary.hbs index 2c72dc540f8..fc06688d10f 100644 --- a/app/assets/javascripts/discourse/app/templates/user/summary.hbs +++ b/app/assets/javascripts/discourse/app/templates/user/summary.hbs @@ -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)}} {{else}}

{{i18n "user.summary.no_badges"}}