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"}}>
|
<h1 {{bind-attr class="staff new_user"}}>
|
||||||
{{#link-to 'user' user}}{{username}}{{/link-to}}
|
{{#link-to 'user' user}}{{username}}{{/link-to}}
|
||||||
</h1>
|
</h1>
|
||||||
|
{{#if user.title}}
|
||||||
|
<h2>{{user.title}}</h2>
|
||||||
|
{{/if}}
|
||||||
{{#if showName}}
|
{{#if showName}}
|
||||||
<h2>{{#link-to 'user' user}}{{name}}{{/link-to}}</h2>
|
<h2>{{#link-to 'user' user}}{{name}}{{/link-to}}</h2>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue