UX: Add title to user card, if exists

This commit is contained in:
Robin Ward 2014-10-30 12:11:33 -04:00
parent 316f1bea04
commit 78f5237ae9
1 changed files with 3 additions and 0 deletions

View File

@ -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}}