relocate edit folder (#1142)

This commit is contained in:
Cilibiu Bogdan 2019-06-27 15:13:59 +03:00 committed by Suzana Dirla
parent 16b7eee621
commit e12fe93759

View File

@ -339,11 +339,23 @@
"visible": "app.selection.file.canUploadVersion" "visible": "app.selection.file.canUploadVersion"
} }
}, },
{
"id": "app.toolbar.editFolder",
"order": 300,
"title": "APP.ACTIONS.EDIT",
"icon": "create",
"actions": {
"click": "EDIT_FOLDER"
},
"rules": {
"visible": "canEditFolder"
}
},
{ {
"id": "app.toolbar.favorite", "id": "app.toolbar.favorite",
"comment": "workaround for Recent Files and Search API issue", "comment": "workaround for Recent Files and Search API issue",
"type": "custom", "type": "custom",
"order": 300, "order": 400,
"component": "app.toolbar.toggleFavorite", "component": "app.toolbar.toggleFavorite",
"rules": { "rules": {
"visible": "canToggleFavorite" "visible": "canToggleFavorite"
@ -352,7 +364,7 @@
{ {
"id": "app.libraries.toolbar.toggleFavorite", "id": "app.libraries.toolbar.toggleFavorite",
"type": "custom", "type": "custom",
"order": 301, "order": 401,
"component": "app.toolbar.toggleFavoriteLibrary", "component": "app.toolbar.toggleFavoriteLibrary",
"rules": { "rules": {
"visible": "app.selection.library" "visible": "app.selection.library"
@ -360,7 +372,7 @@
}, },
{ {
"id": "app.toolbar.favorite.add", "id": "app.toolbar.favorite.add",
"order": 302, "order": 402,
"title": "APP.ACTIONS.FAVORITE", "title": "APP.ACTIONS.FAVORITE",
"icon": "star_border", "icon": "star_border",
"actions": { "actions": {
@ -372,7 +384,7 @@
}, },
{ {
"id": "app.toolbar.favorite.remove", "id": "app.toolbar.favorite.remove",
"order": 303, "order": 403,
"title": "APP.ACTIONS.REMOVE_FAVORITE", "title": "APP.ACTIONS.REMOVE_FAVORITE",
"icon": "star", "icon": "star",
"actions": { "actions": {
@ -385,23 +397,6 @@
{ {
"id": "app.create.separator.1", "id": "app.create.separator.1",
"type": "separator", "type": "separator",
"order": 400
},
{
"id": "app.toolbar.editFolder",
"order": 450,
"title": "APP.ACTIONS.EDIT",
"icon": "create",
"actions": {
"click": "EDIT_FOLDER"
},
"rules": {
"visible": "canEditFolder"
}
},
{
"id": "app.create.separator.2",
"type": "separator",
"order": 500 "order": 500
}, },
{ {