Added custom branding to login description (#3710)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
42e74b509d
Коммит
2c23a4fe49
@@ -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}
|
||||
|
||||
Ссылка в новой задаче
Block a user