mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
UX: Add title to user card, if exists
This commit is contained in:
parent
316f1bea04
commit
78f5237ae9
@ -9,6 +9,9 @@
|
||||
<h1 {{bind-attr class="staff new_user"}}>
|
||||
{{#link-to 'user' user}}{{username}}{{/link-to}}
|
||||
</h1>
|
||||
{{#if user.title}}
|
||||
<h2>{{user.title}}</h2>
|
||||
{{/if}}
|
||||
{{#if showName}}
|
||||
<h2>{{#link-to 'user' user}}{{name}}{{/link-to}}</h2>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user