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/login | |
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/login')
-rw-r--r-- | webapp/components/login/login_controller.jsx | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/webapp/components/login/login_controller.jsx b/webapp/components/login/login_controller.jsx index 4a4c5cb0a..52f36bb2a 100644 --- a/webapp/components/login/login_controller.jsx +++ b/webapp/components/login/login_controller.jsx @@ -549,6 +549,18 @@ export default class LoginController 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/> @@ -564,9 +576,7 @@ export default class LoginController extends React.Component { <div className='signup__content'> <h1>{global.window.mm_config.SiteName}</h1> <h4 className='color--light'> - <FormattedMessage - id='web.root.singup_info' - /> + {description} </h4> {content} </div> |