Versions Compared

Key

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

...

Info

Default Behaviour(s) :

User can acces the main menu from every pages of the DAM by clicking on the menu icon in the Header.

By default, main menu is composed of :

  • Search for an asset link - redirects to the search page,

  • Upload assets link - redirects to the mass upload page,

    • Only visible for Administrators

  • Footer links

    • Legal Notice : the user is redirected on the legal notice page

    • Terms of use : the user is redirected on the terms of service page

    • Feedback : opens the feedback’s popup.

  • Profile picture / First Name / Last Name

  • Disconnect link

  • My boards link

  • My searches link

  • Release Number

  • Language drop-down menu with options :

    • French, English, Deutch

  • Cross, for closing the menu

Advanced Configuration

...

The shortcuts you want to display must be described in the actionAvailabled.json file located in the menu directory. It is an Array<Action> with the following settings :

...

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

...

The footer links you want to display must be described in the footer-links.json file located in the menu directory. The links property is an Array<Link> with the following settings :

...

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" } }

...

The links you want to display in the sidebar menu must described in the links.json file located in the menu directory. It's an Array<Link> with the following settings :

Config Path

Default value

Description

$.menu.links =

Code Block
[
  {
    "key": "sidebar.links.board",
    "suffixIfAnonymous": true,
    "display": true,
    "to": { 
      "name": "boards",
    },
    "descriptionKey": "sidebar.links.boardDescription",
    "onlyIfAllFeaturesActive": ["boards"]
  },
  {
    "key": "sidebar.links.searches",
    "onlyIfLogged": true,
    "display": true,
    "to": {
      "name": "savedSearches"
    },
    "descriptionKey": null
  }
]

Each Link object has the following structure :

Property

Type

Default

Description

key

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" } }

...