From 8f38e4317b66b8ed778820a5f812ccc005036437 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 8 Mar 2016 14:57:35 -0500 Subject: Improving the about dialog for licencing --- web/react/components/about_build_modal.jsx | 39 ++++++++++++++++++------------ 1 file changed, 24 insertions(+), 15 deletions(-) (limited to 'web/react/components') 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 = ( ); + let licensee; - if (config.BuildEnterpriseReady === 'true' && license.IsLicensed === 'true') { + if (config.BuildEnterpriseReady === 'true') { title = ( ); - licensee = ( -
-
- + if (license.IsLicensed === 'true') { + title = ( + + ); + licensee = ( +
+
+ +
+
{license.Company}
-
{license.Company}
-
- ); + ); + } } return ( -- cgit v1.2.3-1-g7c22 From 3d8c6af4d9cc04141c2af5d8163a640b3bb6a9a3 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 8 Mar 2016 23:09:33 -0500 Subject: Fix spelling --- web/react/components/about_build_modal.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/react/components') diff --git a/web/react/components/about_build_modal.jsx b/web/react/components/about_build_modal.jsx index 86519e5db..34b1fdccf 100644 --- a/web/react/components/about_build_modal.jsx +++ b/web/react/components/about_build_modal.jsx @@ -21,7 +21,7 @@ export default class AboutBuildModal extends React.Component { let title = ( ); @@ -30,7 +30,7 @@ export default class AboutBuildModal extends React.Component { if (config.BuildEnterpriseReady === 'true') { title = ( ); -- cgit v1.2.3-1-g7c22