diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-08 14:57:35 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-08 14:57:35 -0500 |
commit | 8f38e4317b66b8ed778820a5f812ccc005036437 (patch) | |
tree | ced18034dec9212b7e07c593d586fe9ea2727517 /web/react/components | |
parent | cbf84c8beaa0896daaf82ecdb63f236da4d64c0e (diff) | |
download | chat-8f38e4317b66b8ed778820a5f812ccc005036437.tar.gz chat-8f38e4317b66b8ed778820a5f812ccc005036437.tar.bz2 chat-8f38e4317b66b8ed778820a5f812ccc005036437.zip |
Improving the about dialog for licencing
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/about_build_modal.jsx | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/web/react/components/about_build_modal.jsx b/web/react/components/about_build_modal.jsx index fe48bb48e..86519e5db 100644 --- a/web/react/components/about_build_modal.jsx +++ b/web/react/components/about_build_modal.jsx @@ -21,29 +21,38 @@ export default class AboutBuildModal extends React.Component { let title = ( <FormattedMessage - id='about.teamEdtion' - defaultMessage='Team Edition' + id='about.teamEdtiont0' + defaultMessage='Team Edition T0' /> ); + let licensee; - if (config.BuildEnterpriseReady === 'true' && license.IsLicensed === 'true') { + if (config.BuildEnterpriseReady === 'true') { title = ( <FormattedMessage - id='about.enterpriseEdition' - defaultMessage='Enterprise Edition' + id='about.teamEdtiont1' + defaultMessage='Team Edition T1' /> ); - licensee = ( - <div className='row form-group'> - <div className='col-sm-3 info__label'> - <FormattedMessage - id='about.licensed' - defaultMessage='Licensed by:' - /> + if (license.IsLicensed === 'true') { + title = ( + <FormattedMessage + id='about.enterpriseEditione1' + defaultMessage='Enterprise Edition E1' + /> + ); + licensee = ( + <div className='row form-group'> + <div className='col-sm-3 info__label'> + <FormattedMessage + id='about.licensed' + defaultMessage='Licensed by:' + /> + </div> + <div className='col-sm-9'>{license.Company}</div> </div> - <div className='col-sm-9'>{license.Company}</div> - </div> - ); + ); + } } return ( |