Index: Classes/Controller/ReviewController.php =================================================================== --- Classes/Controller/ReviewController.php (revision 3534) +++ Classes/Controller/ReviewController.php (working copy) @@ -86,6 +86,8 @@ $this->view->assign('workspaceList', $wsService->getAvailableWorkspaces()); $this->view->assign('activeWorkspaceUid', tx_Workspaces_Service_Workspaces::SELECT_ALL_WORKSPACES); $GLOBALS['BE_USER']->setAndSaveSessionData('tx_workspace_activeWorkspace', tx_Workspaces_Service_Workspaces::SELECT_ALL_WORKSPACES); + // set flag for javascript + $this->pageRenderer->addInlineSetting('Workspaces', 'allView', '1'); } } Index: Resources/Public/JavaScript/configuration.js =================================================================== --- Resources/Public/JavaScript/configuration.js (revision 3534) +++ Resources/Public/JavaScript/configuration.js (working copy) @@ -176,6 +176,7 @@ xtype: 'actioncolumn', header:'', width: 18, + hidden: (TYPO3.settings.Workspaces.allView === '1'), items:[ { iconCls: 't3-icon t3-icon-extensions t3-icon-extensions-workspaces t3-icon-workspaces-sendtoprevstage', @@ -192,6 +193,7 @@ xtype: 'actioncolumn', header:'', width: 18, + hidden: (TYPO3.settings.Workspaces.allView === '1'), items: [ {},{ // empty dummy important!!!! iconCls: 't3-icon t3-icon-extensions t3-icon-extensions-workspaces t3-icon-workspaces-sendtonextstage', @@ -216,14 +218,14 @@ }, renderer: function(value, metaData, record, rowIndex, colIndex, store) { var returnCode = ''; - if (record.json.allowedAction_prevStage) { + if (record.json.allowedAction_prevStage && !TYPO3.settings.Workspaces.allView === '1') { var prevButton = new Ext.grid.ActionColumn(TYPO3.Workspaces.Configuration.SendToPrevStageButton); returnCode += prevButton.renderer(1, metaData, record, rowIndex, 1, store); } else { returnCode += " "; } returnCode += record.json.label_Stage; - if (record.json.allowedAction_nextStage) { + if (record.json.allowedAction_nextStage && !TYPO3.settings.Workspaces.allView === '1') { var nextButton = new Ext.grid.ActionColumn(TYPO3.Workspaces.Configuration.SendToNextStageButton); returnCode += nextButton.renderer(2, metaData, record, rowIndex, 2, store); } else { @@ -249,6 +251,7 @@ header: TYPO3.lang["column.actions"], width: 70, hideable: false, + hidden: (TYPO3.settings.Workspaces.allView === '1'), menuDisabled: true, items: [ { @@ -340,6 +343,7 @@ width: 18, menuDisabled: true, sortable: false, + hidden: (TYPO3.settings.Workspaces.allView === '1'), items: [ { iconCls:'t3-icon t3-icon-actions t3-icon-actions-version t3-icon-version-swap-workspace'