change order of icons in context menu

This commit is contained in:
David Benqué 2020-03-06 16:22:22 +00:00
parent f60a9dc575
commit 5a88f6c526

View File

@ -352,10 +352,6 @@ define([
'tabindex': '-1', 'tabindex': '-1',
'data-icon': faAccess, 'data-icon': faAccess,
}, Messages.accessButton)), }, Messages.accessButton)),
h('li', h('a.cp-app-drive-context-properties.dropdown-item', {
'tabindex': '-1',
'data-icon': faProperties,
}, Messages.fc_prop)),
$separator.clone()[0], $separator.clone()[0],
h('li', h('a.cp-app-drive-context-newfolder.dropdown-item.cp-app-drive-context-editable', { h('li', h('a.cp-app-drive-context-newfolder.dropdown-item.cp-app-drive-context-editable', {
'tabindex': '-1', 'tabindex': '-1',
@ -445,6 +441,10 @@ define([
'tabindex': '-1', 'tabindex': '-1',
'data-icon': faCopy, 'data-icon': faCopy,
}, Messages.makeACopy)), }, Messages.makeACopy)),
h('li', h('a.cp-app-drive-context-download.dropdown-item', {
'tabindex': '-1',
'data-icon': faDownload,
}, Messages.download_mt_button)),
h('li', h('a.cp-app-drive-context-delete.dropdown-item.cp-app-drive-context-editable', { h('li', h('a.cp-app-drive-context-delete.dropdown-item.cp-app-drive-context-editable', {
'tabindex': '-1', 'tabindex': '-1',
'data-icon': faTrash, 'data-icon': faTrash,
@ -462,10 +462,10 @@ define([
'data-icon': faDelete, 'data-icon': faDelete,
}, Messages.fc_remove_sharedfolder)), }, Messages.fc_remove_sharedfolder)),
$separator.clone()[0], $separator.clone()[0],
h('li', h('a.cp-app-drive-context-download.dropdown-item', { h('li', h('a.cp-app-drive-context-properties.dropdown-item', {
'tabindex': '-1', 'tabindex': '-1',
'data-icon': faDownload, 'data-icon': faProperties,
}, Messages.download_mt_button)), }, Messages.fc_prop))
]) ])
]); ]);
// add icons to the contextmenu options // add icons to the contextmenu options