diff options
author | David Lu <david.lu@hotmail.com> | 2016-08-02 08:34:34 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-08-02 08:34:34 -0400 |
commit | 2c23a4fe4907f826013571afdae6db52895f576e (patch) | |
tree | c485d6685570daed65bf956574ee1be9006152bd /webapp/components/select_team/select_team.jsx | |
parent | 42e74b509dc8a1be7798c030b1ad80f6c2755a73 (diff) | |
download | chat-2c23a4fe4907f826013571afdae6db52895f576e.tar.gz chat-2c23a4fe4907f826013571afdae6db52895f576e.tar.bz2 chat-2c23a4fe4907f826013571afdae6db52895f576e.zip |
Added custom branding to login description (#3710)
Diffstat (limited to 'webapp/components/select_team/select_team.jsx')
-rw-r--r-- | webapp/components/select_team/select_team.jsx | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/webapp/components/select_team/select_team.jsx b/webapp/components/select_team/select_team.jsx index f7d5b14b0..f1816238b 100644 --- a/webapp/components/select_team/select_team.jsx +++ b/webapp/components/select_team/select_team.jsx @@ -212,6 +212,18 @@ export default class SelectTeam extends React.Component { ); } + let description = null; + if (global.window.mm_license.IsLicensed === 'true' && global.window.mm_license.CustomBrand === 'true' && global.window.mm_config.EnableCustomBrand === 'true') { + description = global.window.mm_config.CustomDescriptionText; + } else { + description = ( + <FormattedMessage + id='web.root.signup_info' + defaultMessage='All team communication in one place, searchable and accessible anywhere' + /> + ); + } + return ( <div> <ErrorBar/> @@ -234,9 +246,7 @@ export default class SelectTeam extends React.Component { /> <h1>{global.window.mm_config.SiteName}</h1> <h4 className='color--light'> - <FormattedMessage - id='web.root.singup_info' - /> + {description} </h4> {content} {openContent} |