BUG 9004 Cambio de label de Pm Table en la seccióeport Table... SOLVED

- Se identificaron todas las etiquetas que se deberian modificar dependiendo si esta en PM TAbles o Report Tables.
- Se procedio al cambio  de etiquetas para evitar la confusion de los casos de PM Tables y Report Tables.
This commit is contained in:
Marco Antonio Nina
2012-05-04 16:22:50 -04:00
parent cab801ca7f
commit 44eebca163

View File

@@ -294,7 +294,7 @@ Ext.onReady(function(){
pageSize: pageSize, pageSize: pageSize,
store: store, store: store,
displayInfo: true, displayInfo: true,
displayMsg: _('ID_GRID_PAGE_DISPLAYING_PMTABLES_MESSAGE') + '    ', displayMsg: (PRO_UID? _('ID_GRID_PAGE_DISPLAYING_REPORTABLES_MESSAGE') : _('ID_GRID_PAGE_DISPLAYING_PMTABLES_MESSAGE')) + '    ',
emptyMsg: _('ID_GRID_PAGE_NO_PMTABLES_MESSAGE'), emptyMsg: _('ID_GRID_PAGE_NO_PMTABLES_MESSAGE'),
items: ['-',_('ID_PAGE_SIZE')+':',comboPageSize] items: ['-',_('ID_PAGE_SIZE')+':',comboPageSize]
}); });
@@ -305,7 +305,7 @@ Ext.onReady(function(){
id: 'infoGrid', id: 'infoGrid',
height:100, height:100,
autoWidth : true, autoWidth : true,
title : _('ID_ADDITIONAL_TABLES'), title : (PRO_UID? _('ID_REPORT_TABLES') : _('ID_PMTABLE')),//'Cambiemos esto',//_('ID_ADDITIONAL_TABLES'),
stateful : true, stateful : true,
stateId : 'grid', stateId : 'grid',
enableColumnResize: true, enableColumnResize: true,
@@ -491,7 +491,7 @@ ImportPMTable = function(){
fileUpload: true, fileUpload: true,
width: 400, width: 400,
frame: true, frame: true,
title: _('ID_IMPORT_PMT'), // 'Import PM Table', title: (PRO_UID? _('ID_IMPORT_RT') : _('ID_IMPORT_PMT')),//_('ID_IMPORT_PMT'), // 'Import PM Table',
autoHeight: false, autoHeight: false,
bodyStyle: 'padding: 10px 10px 0 10px;', bodyStyle: 'padding: 10px 10px 0 10px;',
labelWidth: 50, labelWidth: 50,
@@ -612,6 +612,7 @@ ExportPMTable = function(){
PMTableData = function() PMTableData = function()
{ {
var row = Ext.getCmp('infoGrid').getSelectionModel().getSelected(); var row = Ext.getCmp('infoGrid').getSelectionModel().getSelected();
var type = row.get('PRO_UID');
if ((Ext.isIE8) ||(Ext.isIE7)){ if ((Ext.isIE8) ||(Ext.isIE7)){
var url = 'pmTables/data?id='+row.get('ADD_TAB_UID')+'&type='+row.get('TYPE'); var url = 'pmTables/data?id='+row.get('ADD_TAB_UID')+'&type='+row.get('TYPE');
PopupCenter(url, 's', 800, 410); PopupCenter(url, 's', 800, 410);
@@ -626,7 +627,7 @@ PMTableData = function()
win = new Ext.Window({ win = new Ext.Window({
layout:'fit', layout:'fit',
width:700, width:700,
title: _('ID_PM_TABLE') +': '+ row.get('ADD_TAB_NAME'), title: ((type != '')? _('ID_REPORT_TABLE') : _('ID_PMTABLE')) +': '+ row.get('ADD_TAB_NAME'),
height:500, height:500,
modal: true, modal: true,
maximizable: true, maximizable: true,