diff --git a/apps/presentationeditor/mobile/src/view/settings/PresentationAbout.jsx b/apps/presentationeditor/mobile/src/view/settings/PresentationAbout.jsx index 27e777d22..82a36a6d2 100644 --- a/apps/presentationeditor/mobile/src/view/settings/PresentationAbout.jsx +++ b/apps/presentationeditor/mobile/src/view/settings/PresentationAbout.jsx @@ -17,9 +17,8 @@ const PagePresentationAbout = props => { const infoCustomer = customer ? customer.info : null; const logoCustomer = customer ? customer.logo : null; - console.log(store); - console.log(isCanBranding); - + const publisherUrl = __PUBLISHER_URL__, + publisherPrintUrl = publisherUrl.replace(/https?:\/{2}|\/$/,""); return ( @@ -35,7 +34,25 @@ const PagePresentationAbout = props => {

PRESENTATION EDITOR

-

{_t.textVersion} 6.1.1

+

{_t.textVersion} {__PRODUCT_VERSION__}

+
+
+

+ + {__PUBLISHER_ADDRESS__} +

+

+ + {__SUPPORT_EMAIL__} +

+

+ + {__PUBLISHER_PHONE__} +

+

+ {publisherPrintUrl} +

+ {/*

*/}
{nameCustomer && nameCustomer.length ? ( diff --git a/vendor/framework7-react/build/webpack.config.js b/vendor/framework7-react/build/webpack.config.js index 6c930e51d..8d4fc4a43 100644 --- a/vendor/framework7-react/build/webpack.config.js +++ b/vendor/framework7-react/build/webpack.config.js @@ -153,6 +153,12 @@ module.exports = { new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify(env), 'process.env.TARGET': JSON.stringify(target), + __PRODUCT_VERSION__: JSON.stringify(process.env.PRODUCT_VERSION ? process.env.PRODUCT_VERSION : '0.0.1'), + __PUBLISHER_ADDRESS__: JSON.stringify('20A-12 Ernesta Birznieka-Upisha street, Riga, Latvia, EU, LV-1050'), + __SUPPORT_EMAIL__: JSON.stringify('support@onlyoffice.com'), + __PUBLISHER_PHONE__: JSON.stringify('+371 633-99867'), + __PUBLISHER_URL__: JSON.stringify('https://www.onlyoffice.com'), + __PUBLISHER_NAME__: JSON.stringify('Ascensio System SIA'), }), ...(env === 'production' ? [