BUG-14034 Status in Dashboards -NEW FEATURE

In ADMIN > Settings > Dashboard now is available the button Status, this button let Activate or Deactivate the Dashlet, showing the changed status in the Status Field in the grid.

When a dashlet is Inactive this dashlet is not showed in the DASHBOARDS tab. A validation was added to only let the current user see the active dashlets assigned to himself.
This commit is contained in:
jennylee
2014-05-20 12:00:01 -04:00
parent 0e1db46a4e
commit d933f7a294

View File

@@ -135,7 +135,7 @@ Ext.onReady(function(){
}
}
if( record.data.DAS_INS_STATUS_LABEL == 'Active' ){
if( record.data.DAS_INS_STATUS == 1 ){
statusButton.setIconClass('icon-activate');
statusButton.setText( _('ID_DEACTIVATE') );
} else {