From b358d6c20c55957418ebf26720a67812fa1e8131 Mon Sep 17 00:00:00 2001 From: oskar-binary Date: Tue, 24 Sep 2019 17:19:41 +0800 Subject: [PATCH 1/3] update market name --- src/tradingtimes/tradingTimes.es6 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tradingtimes/tradingTimes.es6 b/src/tradingtimes/tradingTimes.es6 index 5bd5e90392..bdc3654d33 100644 --- a/src/tradingtimes/tradingTimes.es6 +++ b/src/tradingtimes/tradingTimes.es6 @@ -39,9 +39,9 @@ const processData = (markets) => { markets .filter(eMarket => { const loginId = (local_storage.get('authorize') || {}).loginid || ''; - return (/MF/gi.test(loginId) && eMarket.name !== 'Volatility Indices') - || (/MLT/gi.test(loginId) && eMarket.name === 'Volatility Indices') - || (/MX/gi.test(loginId) && eMarket.name === 'Volatility Indices') + return (/MF/gi.test(loginId) && eMarket.name !== 'Synthetic Indices') + || (/MLT/gi.test(loginId) && eMarket.name === 'Synthetic Indices') + || (/MX/gi.test(loginId) && eMarket.name === 'Synthetic Indices') || (!/MF/gi.test(loginId) && !/MLT/gi.test(loginId) && !/MX/gi.test(loginId)); }) .forEach((market) => { From 1094727979336e144439a129927cd12608ba2602 Mon Sep 17 00:00:00 2001 From: oskar-binary Date: Thu, 26 Sep 2019 11:38:13 +0800 Subject: [PATCH 2/3] update footer text --- src/common/marketUtils.es6 | 2 +- src/index.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/marketUtils.es6 b/src/common/marketUtils.es6 index 366016f0b0..1c302148e1 100644 --- a/src/common/marketUtils.es6 +++ b/src/common/marketUtils.es6 @@ -3,7 +3,7 @@ const sortMarkets = (() => { forex: 1, indices: 2, commodities: 3, - volidx: 4, + synthetic_index: 4, }; return function sortMarkets(markets) { diff --git a/src/index.js b/src/index.js index 9b158e0eb7..b96ff18ee5 100644 --- a/src/index.js +++ b/src/index.js @@ -203,15 +203,15 @@ function processFooter(selected_language_name) { TAGS: ['', ''], }, P2: { - TEXT: 'In the Isle of Man and the UK, Volatility Indices are offered by Binary (IOM) Ltd., First Floor, Millennium House, Victoria Road, Douglas, IM2 4RW, Isle of Man, British Isles; licensed and regulated respectively by (1) the Gambling Supervision Commission in the Isle of Man (current licence issued on 31 August 2017) and by (2) the Gambling Commission in the UK (licence [_1]reference no: 39172[_2]).'.i18n(), + TEXT: 'In the Isle of Man and the UK, Synthetic Indices are offered by Binary (IOM) Ltd., First Floor, Millennium House, Victoria Road, Douglas, IM2 4RW, Isle of Man, British Isles; licensed and regulated respectively by (1) the Gambling Supervision Commission in the Isle of Man (current licence issued on 31 August 2017) and by (2) the Gambling Commission in the UK (licence [_1]reference no: 39172[_2]).'.i18n(), TAGS: ['', ''], }, P3: { - TEXT: 'In the rest of the EU, Volatility Indices are offered by Binary (Europe) Ltd., W Business Centre, Level 3, Triq Dun Karm, Birkirkara, BKR 9033, Malta; licensed and regulated by (1) the Malta Gaming Authority in Malta (licence no. MGA/B2C/102/2000 issued on 01 August 2018), for UK clients by (2) the UK Gambling Commission (licence [_1]reference no: 39495[_2]), and for Irish clients by (3) the Revenue Commissioners in Ireland (Remote Bookmaker\'s Licence no. 1010285 issued on 1 July 2017). View complete [_3]Regulatory Information[_4].'.i18n(), + TEXT: 'In the rest of the EU, Synthetic Indices are offered by Binary (Europe) Ltd., W Business Centre, Level 3, Triq Dun Karm, Birkirkara, BKR 9033, Malta; licensed and regulated by (1) the Malta Gaming Authority in Malta (licence no. MGA/B2C/102/2000 issued on 01 August 2018), for UK clients by (2) the UK Gambling Commission (licence [_1]reference no: 39495[_2]), and for Irish clients by (3) the Revenue Commissioners in Ireland (Remote Bookmaker\'s Licence no. 1010285 issued on 1 July 2017). View complete [_3]Regulatory Information[_4].'.i18n(), TAGS: ['', '', '', ''], }, P4: { - TEXT: 'Binary.com is an award-winning online trading provider that helps its clients to trade on financial markets through binary options and CFDs. Trading binary options and CFDs on Volatility Indices is classified as a gambling activity. Remember that gambling can be addictive - please play responsibly. Learn more about [_1]Responsible Trading[_2]. Some products are not available in all countries. This website\'s services are not made available in certain countries such as the USA, Canada, Hong Kong, or to persons under age 18.'.i18n(), + TEXT: 'Binary.com is an award-winning online trading provider that helps its clients to trade on financial markets through binary options and CFDs. Trading binary options and CFDs on Synthetic Indices is classified as a gambling activity. Remember that gambling can be addictive - please play responsibly. Learn more about [_1]Responsible Trading[_2]. Some products are not available in all countries. This website\'s services are not made available in certain countries such as the USA, Canada, Hong Kong, or to persons under age 18.'.i18n(), TAGS: ['', ''], }, P5: { From 658e37dbfc7b56baca200b82e6bf18234bdec5dd Mon Sep 17 00:00:00 2001 From: oskar-binary Date: Thu, 26 Sep 2019 13:03:54 +0800 Subject: [PATCH 3/3] revert sortMarkets --- src/common/marketUtils.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/marketUtils.es6 b/src/common/marketUtils.es6 index 1c302148e1..366016f0b0 100644 --- a/src/common/marketUtils.es6 +++ b/src/common/marketUtils.es6 @@ -3,7 +3,7 @@ const sortMarkets = (() => { forex: 1, indices: 2, commodities: 3, - synthetic_index: 4, + volidx: 4, }; return function sortMarkets(markets) {