From 065bf0762cc0d058eabc2db33c56f026e4a60230 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 17 Oct 2018 14:15:48 +0100 Subject: [PATCH] FEATURE: New plugin outlets for user card customization --- .../discourse/templates/components/user-card-contents.hbs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs b/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs index 39aed70a289..a207813eda7 100644 --- a/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs +++ b/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs @@ -142,6 +142,9 @@ {{plugin-outlet name="user-card-metadata" args=(hash user=user)}} {{/unless}} + + {{plugin-outlet name="user-card-after-metadata" args=(hash user=user)}} + {{/if}} {{#if publicUserFields}} @@ -157,6 +160,8 @@ {{/if}} + {{plugin-outlet name="user-card-before-badges" args=(hash user=user)}} + {{#if showBadges}} {{#if user.featured_user_badges}}