From 2c23a4fe4907f826013571afdae6db52895f576e Mon Sep 17 00:00:00 2001 From: David Lu Date: Tue, 2 Aug 2016 08:34:34 -0400 Subject: Added custom branding to login description (#3710) --- webapp/components/login/login_controller.jsx | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'webapp/components/login/login_controller.jsx') 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 = ( + + ); + } + return (
@@ -564,9 +576,7 @@ export default class LoginController extends React.Component {

{global.window.mm_config.SiteName}

- + {description}

{content}
-- cgit v1.2.3-1-g7c22