mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: New plugin outlets for user card customization
This commit is contained in:
@@ -142,6 +142,9 @@
|
||||
{{plugin-outlet name="user-card-metadata" args=(hash user=user)}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
{{plugin-outlet name="user-card-after-metadata" args=(hash user=user)}}
|
||||
|
||||
{{/if}}
|
||||
|
||||
{{#if publicUserFields}}
|
||||
@@ -157,6 +160,8 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{plugin-outlet name="user-card-before-badges" args=(hash user=user)}}
|
||||
|
||||
{{#if showBadges}}
|
||||
{{#if user.featured_user_badges}}
|
||||
<div class="badge-section">
|
||||
|
||||
Reference in New Issue
Block a user