Skip to content

Commit

Permalink
Move planning item to planning repo (#2754)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablopunk authored Jan 15, 2019
1 parent a90628c commit acdb0fa
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions scripts/apps/workspace/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,4 @@ angular.module('superdesk.apps.workspace', [
keyboardManager.register('General', 'alt + p', gettext('Open personal'));
keyboardManager.register('General', 'ctrl + alt + f', gettext('Open search'));
keyboardManager.register('General', 'x', gettext('Multi-select (or deselect) an item'));
}])

// temporary planning config
.config(['workspaceMenuProvider', (workspaceMenuProvider) => {
workspaceMenuProvider.item({
href: '/workspace/assignments',
icon: 'tasks',
label: gettext('Assignments'),
shortcut: 'ctrl+alt+a',
if: 'workspaceConfig.assignments',
order: 300,
});

workspaceMenuProvider.item({
href: '/planning',
icon: 'calendar',
label: gettext('Planning'),
group: 'planning',
if: 'workspaceConfig.planning && privileges.planning',
order: 1100,
});
}]);

0 comments on commit acdb0fa

Please sign in to comment.