Fixes issue 15244: Changed the message when trying to delete widget
authorIván Perdomo <ivan.perdomo@openbravo.com>
Wed, 01 Jun 2011 11:24:19 +0200
changeset 12631 7a3ec05e9232
parent 12630 fd786dd8948f
child 12632 787c2bf6dca6
Fixes issue 15244: Changed the message when trying to delete widget
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MESSAGE.xml
modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-community-branding-widget.js
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MESSAGE.xml	Wed Jun 01 11:24:38 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MESSAGE.xml	Wed Jun 01 11:24:19 2011 +0200
@@ -141,7 +141,7 @@
 <!--4D4433A442EB4F0C8DF2F2A57A8BBE31-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--4D4433A442EB4F0C8DF2F2A57A8BBE31-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--4D4433A442EB4F0C8DF2F2A57A8BBE31-->  <VALUE><![CDATA[OBKMO_ActivateMessage]]></VALUE>
-<!--4D4433A442EB4F0C8DF2F2A57A8BBE31-->  <MSGTEXT><![CDATA[Please activate Basic Edition to be able to use this feature]]></MSGTEXT>
+<!--4D4433A442EB4F0C8DF2F2A57A8BBE31-->  <MSGTEXT><![CDATA[Only Professional and Basic Edition subscribers are allowed to delete this widget. The <b>Learn More</b> button will show you how to activate your instance.]]></MSGTEXT>
 <!--4D4433A442EB4F0C8DF2F2A57A8BBE31-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
 <!--4D4433A442EB4F0C8DF2F2A57A8BBE31-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
 <!--4D4433A442EB4F0C8DF2F2A57A8BBE31--></AD_MESSAGE>
@@ -270,17 +270,6 @@
 <!--A1F6CE173F6F4C188FD66D5F23256F00-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
 <!--A1F6CE173F6F4C188FD66D5F23256F00--></AD_MESSAGE>
 
-<!--B0129EDA02004C08818FD39DEF5E7790--><AD_MESSAGE>
-<!--B0129EDA02004C08818FD39DEF5E7790-->  <AD_MESSAGE_ID><![CDATA[B0129EDA02004C08818FD39DEF5E7790]]></AD_MESSAGE_ID>
-<!--B0129EDA02004C08818FD39DEF5E7790-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--B0129EDA02004C08818FD39DEF5E7790-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--B0129EDA02004C08818FD39DEF5E7790-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--B0129EDA02004C08818FD39DEF5E7790-->  <VALUE><![CDATA[OBKMO_ActivateLabel]]></VALUE>
-<!--B0129EDA02004C08818FD39DEF5E7790-->  <MSGTEXT><![CDATA[Activate]]></MSGTEXT>
-<!--B0129EDA02004C08818FD39DEF5E7790-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--B0129EDA02004C08818FD39DEF5E7790-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
-<!--B0129EDA02004C08818FD39DEF5E7790--></AD_MESSAGE>
-
 <!--B542D76D375D496F8BB8C684F306D359--><AD_MESSAGE>
 <!--B542D76D375D496F8BB8C684F306D359-->  <AD_MESSAGE_ID><![CDATA[B542D76D375D496F8BB8C684F306D359]]></AD_MESSAGE_ID>
 <!--B542D76D375D496F8BB8C684F306D359-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -384,6 +373,17 @@
 <!--F30EDD35EF024B91BDD2CD55E9489680-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
 <!--F30EDD35EF024B91BDD2CD55E9489680--></AD_MESSAGE>
 
+<!--FF808081304A113601304A69D3300065--><AD_MESSAGE>
+<!--FF808081304A113601304A69D3300065-->  <AD_MESSAGE_ID><![CDATA[FF808081304A113601304A69D3300065]]></AD_MESSAGE_ID>
+<!--FF808081304A113601304A69D3300065-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081304A113601304A69D3300065-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081304A113601304A69D3300065-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081304A113601304A69D3300065-->  <VALUE><![CDATA[OBKMO_LearnMore]]></VALUE>
+<!--FF808081304A113601304A69D3300065-->  <MSGTEXT><![CDATA[Learn More]]></MSGTEXT>
+<!--FF808081304A113601304A69D3300065-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--FF808081304A113601304A69D3300065-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--FF808081304A113601304A69D3300065--></AD_MESSAGE>
+
 <!--FF8081812E14E58B012E14EAAEB40011--><AD_MESSAGE>
 <!--FF8081812E14E58B012E14EAAEB40011-->  <AD_MESSAGE_ID><![CDATA[FF8081812E14E58B012E14EAAEB40011]]></AD_MESSAGE_ID>
 <!--FF8081812E14E58B012E14EAAEB40011-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-community-branding-widget.js	Wed Jun 01 11:24:38 2011 +0200
+++ b/modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-community-branding-widget.js	Wed Jun 01 11:24:19 2011 +0200
@@ -144,7 +144,7 @@
   
    activateButton = isc.addProperties({}, isc.Dialog.OK, {
           getTitle: function() {
-            return OB.I18N.getLabel('OBKMO_ActivateLabel');
+            return OB.I18N.getLabel('OBKMO_LearnMore');
           },
           click: function() {
             this.topElement.cancelClick();