add 'Manage Entities...' to main menu
This commit is contained in:
parent
3fa5fa76e9
commit
e2c5da26f2
1 changed files with 3 additions and 0 deletions
|
@ -197,6 +197,7 @@ pandora.ui.mainMenu = function() {
|
||||||
getFindMenu(),
|
getFindMenu(),
|
||||||
{ id: 'dataMenu', title: Ox._('Data'), items: [
|
{ id: 'dataMenu', title: Ox._('Data'), items: [
|
||||||
{ id: 'documents', title: Ox._('Manage Documents...'), disabled: !pandora.site.capabilities.canManageDocuments[pandora.user.level] },
|
{ id: 'documents', title: Ox._('Manage Documents...'), disabled: !pandora.site.capabilities.canManageDocuments[pandora.user.level] },
|
||||||
|
{ id: 'entities', title: Ox._('Manage Entities...'), disabled: !pandora.site.capabilities.canManageEntities[pandora.user.level] },
|
||||||
{},
|
{},
|
||||||
{ id: 'titles', title: Ox._('Manage Titles...'), disabled: !pandora.site.capabilities.canManageTitlesAndNames[pandora.user.level] },
|
{ id: 'titles', title: Ox._('Manage Titles...'), disabled: !pandora.site.capabilities.canManageTitlesAndNames[pandora.user.level] },
|
||||||
{ id: 'names', title: Ox._('Manage Names...'), disabled: !pandora.site.capabilities.canManageTitlesAndNames[pandora.user.level] },
|
{ id: 'names', title: Ox._('Manage Names...'), disabled: !pandora.site.capabilities.canManageTitlesAndNames[pandora.user.level] },
|
||||||
|
@ -491,6 +492,8 @@ pandora.ui.mainMenu = function() {
|
||||||
pandora.$ui.similarClipsDialog = pandora.ui.similarClipsDialog().open();
|
pandora.$ui.similarClipsDialog = pandora.ui.similarClipsDialog().open();
|
||||||
} else if (data.id == 'documents') {
|
} else if (data.id == 'documents') {
|
||||||
pandora.$ui.documentsDialog = pandora.ui.documentsDialog().open();
|
pandora.$ui.documentsDialog = pandora.ui.documentsDialog().open();
|
||||||
|
} else if (data.id == 'entities') {
|
||||||
|
pandora.$ui.entitiesDialog = pandora.ui.entitiesDialog().open();
|
||||||
} else if (data.id == 'titles') {
|
} else if (data.id == 'titles') {
|
||||||
(pandora.$ui.titlesDialog || (
|
(pandora.$ui.titlesDialog || (
|
||||||
pandora.$ui.titlesDialog = pandora.ui.titlesDialog()
|
pandora.$ui.titlesDialog = pandora.ui.titlesDialog()
|
||||||
|
|
Loading…
Reference in a new issue