Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Config Path

Default value

Description

$.menu.actionAvailabled=

Code Block
languagejson
[
  {
    "id": "menu-action-search",
    "key": "sidebar.search.title",
    "display": true,
    "icon": "fal fa-search",
    "to": {
      "name": "dam-explore",
      "params": {
      }
    },
    "descriptionKey": "sidebar.search.description"
  },
  {
    "id": "menu-action-upload",
    "key": "nav.upload",
    "display": true,
    "icon": "fal fa-cloud-upload",
    "to": {
      "name": "import-jobs",
      "params": {

      }
    },
    "descriptionKey": "sidebar.upload.description",
    "onlyForUserGroups": [
      4, 27
    ],
    "onlyIfAllFeaturesActive": ["upload"]
  }
]

Shortcut to asset search

Shortcut to asset import

...

Each Action object has the following structure :

Property

Type

...

Default

...

Description

...

id

...

string

...

false

Unique identifier of your choice for the shortcut

key

string

undefined

I18n key for shortcut label

icon

string

undefined

Font awesome style fa-s/l/r

...

+ icon name prefixed with fa-

to

object

{}

A JSON object with a mandatory name property to specify the Vue route to follow. Ex:

{

"name":

...

"dam-explore",

...

"params":

...

{

...

}

}

descriptionKey

string

undefined

I18n key for shortcut description

...

Each Link object has the following structure :

Property

Type

...

Default

...

Description

...

i18n

...

string

...

undefined

I18n key for link label

routing

object

{}

A JSON to object containing a mandatory name property to specify the Vue route to follow. Ex:

{ "to":

...

{

...

"name":

...

"legal"

...

}

...

}

...