...
Adding shortcuts in the menu
The available actions , added on the top, are described in the actionAvailabled.json file located in the menu
directory. It is an Array<Action>
with the following description : where each Action
object has the following structure :
Code Block | ||
---|---|---|
| ||
{
"id": "menu-action-search", unique identifier of your choice for the menu entry
"key": "sidebar.search.title", i18n localized key for action label
"icon": "fal fa-search", font awesome icon (fa-s/l/r)
"to": {
"name": "dam-explore", the Vue route to follow on click
"params": {
}
},
"descriptionKey": "sidebar.search.description" i18n localized description
}, |
The previous example adds the asset search shortcut to the menu :
...
Config Path | Default value | Description | ||
---|---|---|---|---|
$.menu.actionAvailabled |
| |||
Adding footer links in the menu
...