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:
@@ -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.setIconClass('icon-activate');
|
||||||
statusButton.setText( _('ID_DEACTIVATE') );
|
statusButton.setText( _('ID_DEACTIVATE') );
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user