PLT-3470: Changed all instances of user list to show full name, username, and nickname (#6994)

Этот коммит содержится в:
Jonathan
2017-07-24 08:22:19 -04:00
коммит произвёл Harrison Healey
родитель b27d51d512
Коммит 87746227bf
5 изменённых файлов: 43 добавлений и 14 удалений

Просмотреть файл

@@ -14,12 +14,6 @@ import React from 'react';
import {FormattedHTMLMessage} from 'react-intl';
export default function UserListRow({user, extraInfo, actions, actionProps, actionUserProps, userCount}) {
const displayName = Utils.displayUsernameForUser(user);
let name = `${displayName} (@${user.username})`;
if (displayName === user.username) {
name = user.username;
}
let buttons = null;
if (actions) {
buttons = actions.map((Action, index) => {
@@ -80,7 +74,7 @@ export default function UserListRow({user, extraInfo, actions, actionProps, acti
id={userCountID}
className='more-modal__name'
>
{name}
{Utils.displayEntireNameForUser(user)}
</div>
<div
id={userCountEmail}