mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
UX: show user full name on admin profile
This commit is contained in:
parent
ccdd614d7f
commit
0717517332
2 changed files with 7 additions and 1 deletions
|
@ -32,6 +32,11 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class='display-row'>
|
||||
<div class='field'>{{i18n 'user.name.title'}}</div>
|
||||
<div class='value'>{{model.name}}</div>
|
||||
</div>
|
||||
|
||||
{{#if canCheckEmails}}
|
||||
<div class='display-row email'>
|
||||
<div class='field'>{{i18n 'user.email.title'}}</div>
|
||||
|
|
|
@ -2,7 +2,8 @@ require_dependency 'admin_user_list_serializer'
|
|||
|
||||
class AdminUserSerializer < AdminUserListSerializer
|
||||
|
||||
attributes :associated_accounts,
|
||||
attributes :name,
|
||||
:associated_accounts,
|
||||
:can_send_activation_email,
|
||||
:can_activate,
|
||||
:can_deactivate,
|
||||
|
|
Loading…
Reference in a new issue