Update
This commit is contained in:
@@ -183,7 +183,7 @@ BX.rest.Marketplace = (function(){
|
||||
BX("mp_tos_license") && !BX("mp_tos_license").checked
|
||||
)
|
||||
{
|
||||
BX("mp_detail_error").innerHTML = BX.message("MARKETPLACE_LICENSE_TOS_ERROR_2");
|
||||
BX("mp_detail_error").innerHTML = BX.message("MARKETPLACE_LICENSE_TOS_ERROR_2_MSGVER_1");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -462,6 +462,18 @@ BX.rest.Marketplace = (function(){
|
||||
);
|
||||
}
|
||||
|
||||
var isRenamedMarket = BX.message("IS_RENAMED_MARKET");
|
||||
var marketSubscriptionText3 = '';
|
||||
|
||||
if (isRenamedMarket === 'Y')
|
||||
{
|
||||
marketSubscriptionText3 = BX.message("REST_MP_SUBSCRIPTION_TEXT_3_MSGVER_1");
|
||||
}
|
||||
else
|
||||
{
|
||||
marketSubscriptionText3 = BX.message("REST_MP_SUBSCRIPTION_TEXT_3_MSGVER_2");
|
||||
}
|
||||
|
||||
var oPopup = BX.PopupWindowManager.create('marketplace_buy_subscription', null, {
|
||||
content: BX.create(
|
||||
'div',
|
||||
@@ -508,7 +520,7 @@ BX.rest.Marketplace = (function(){
|
||||
props: {
|
||||
className: 'rest-marketplace-popup-text'
|
||||
},
|
||||
html: BX.message("REST_MP_SUBSCRIPTION_TEXT_3").replace(
|
||||
html: marketSubscriptionText3.replace(
|
||||
'#ONCLICK#',
|
||||
'BX.rest.Marketplace.open(null,\'subscription\')'
|
||||
)
|
||||
@@ -679,6 +691,19 @@ BX.rest.Marketplace = (function(){
|
||||
this
|
||||
)
|
||||
});
|
||||
|
||||
var isRenamedMarket = BX.message("IS_RENAMED_MARKET");
|
||||
var marketDemoSubscriptionText1 = '';
|
||||
|
||||
if (isRenamedMarket === 'Y')
|
||||
{
|
||||
marketDemoSubscriptionText1 = BX.message("REST_MP_SUBSCRIPTION_DEMO_TEXT_1_MSGVER_1");
|
||||
}
|
||||
else
|
||||
{
|
||||
marketDemoSubscriptionText1 = BX.message("REST_MP_SUBSCRIPTION_DEMO_TEXT_1_MSGVER_2");
|
||||
}
|
||||
|
||||
var popupDemo = BX.PopupWindowManager.create('marketplace_demo_subscription', null, {
|
||||
content: BX.create(
|
||||
'div',
|
||||
@@ -710,7 +735,7 @@ BX.rest.Marketplace = (function(){
|
||||
props: {
|
||||
className: 'rest-marketplace-popup-text'
|
||||
},
|
||||
html: BX.message("REST_MP_SUBSCRIPTION_DEMO_TEXT_1").replace(
|
||||
html: marketDemoSubscriptionText1.replace(
|
||||
'#ONCLICK#',
|
||||
'BX.rest.Marketplace.open(null,\'subscription\')'
|
||||
)
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
core/bitrix/js/rest/marketplace.min.js
vendored
2
core/bitrix/js/rest/marketplace.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user