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 cf45d786968..32cc458f473 100644 --- a/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs +++ b/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs @@ -18,36 +18,35 @@ {{plugin-outlet name="user-card-avatar-flair" args=(hash user=user) tagName='div'}}
- -

- {{#if user.profile_hidden}} - - {{if nameFirst user.name (format-username username)}} - {{user-status user currentUser=currentUser}} - - {{else}} - - {{/if}} -

- {{plugin-outlet name="user-card-after-username" args=(hash user=user showUser=(action "showUser" user)) tagName=''}} - {{#unless nameFirst}} - {{#if user.name}} -

{{user.name}}

- {{/if}} +

+ {{#if user.profile_hidden}} + + {{if nameFirst user.name (format-username username)}} + {{else}} -

{{username}}

- {{/unless}} - {{#if user.title}} -

{{user.title}}

+ {{/if}} - {{#if user.staged}} -

{{i18n 'user.staged'}}

+ + {{plugin-outlet name="user-card-after-username" args=(hash user=user showUser=(action "showUser" user)) tagName=''}} + {{#unless nameFirst}} + {{#if user.name}} +

{{user.name}}

{{/if}} - {{plugin-outlet name="user-card-post-names" args=(hash user=user) tagName='div'}} -
+ {{else}} +

{{username}}

+ {{/unless}} + {{#if user.title}} +

{{user.title}}

+ {{/if}} + {{#if user.staged}} +

{{i18n 'user.staged'}}

+ {{/if}} + {{plugin-outlet name="user-card-post-names" args=(hash user=user) tagName='div'}}