From c8ca70870f1e202eb5784839520199fdf0beaeec Mon Sep 17 00:00:00 2001
From: Elias Nahum <nahumhbl@gmail.com>
Date: Wed, 27 Jan 2016 15:49:26 -0300
Subject: PLT-7: Refactoring frontend (chunk 2) - System Console complete

---
 web/react/components/admin_console/team_users.jsx | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

(limited to 'web/react/components/admin_console/team_users.jsx')

diff --git a/web/react/components/admin_console/team_users.jsx b/web/react/components/admin_console/team_users.jsx
index 2d9657956..1177c9c56 100644
--- a/web/react/components/admin_console/team_users.jsx
+++ b/web/react/components/admin_console/team_users.jsx
@@ -6,6 +6,8 @@ import LoadingScreen from '../loading_screen.jsx';
 import UserItem from './user_item.jsx';
 import ResetPasswordModal from './reset_password_modal.jsx';
 
+import {FormattedMessage} from 'mm-intl';
+
 export default class UserList extends React.Component {
     constructor(props) {
         super(props);
@@ -122,7 +124,15 @@ export default class UserList extends React.Component {
         if (this.state.users == null) {
             return (
                 <div className='wrapper--fixed'>
-                    <h3>{'Users for ' + this.props.team.name}</h3>
+                    <h3>
+                        <FormattedMessage
+                            id='admin.userList.title'
+                            defaultMessage='Users for {team}'
+                            values={{
+                                team: this.props.team.name
+                            }}
+                        />
+                    </h3>
                     {serverError}
                     <LoadingScreen />
                 </div>
@@ -141,7 +151,16 @@ export default class UserList extends React.Component {
 
         return (
             <div className='wrapper--fixed'>
-                <h3>{'Users for ' + this.props.team.name + ' (' + this.state.users.length + ')'}</h3>
+                <h3>
+                    <FormattedMessage
+                        id='admin.userList.title2'
+                        defaultMessage='Users for {team} ({count})'
+                        values={{
+                            team: this.props.team.name,
+                            count: this.state.users.length
+                        }}
+                    />
+                </h3>
                 {serverError}
                 <form
                     className='form-horizontal'
-- 
cgit v1.2.3-1-g7c22

