salix/modules/travel/front/routes.json

33 lines
945 B
JSON

{
"module": "travel",
"name": "Travels",
"icon": "local_airport",
"validations": true,
"dependencies": ["worker", "entry"],
"menus": {
"main": [
{"state": "travel.index", "icon": "local_airport"},
{"state": "travel.extraCommunity", "icon": "directions_boat"}
],
"card": [
{"state": "travel.card.basicData", "icon": "settings"},
{"state": "travel.card.log", "icon": "history"},
{"state": "travel.card.thermograph.index", "icon": "icon-thermometer"}
]
},
"routes": [
{
"url": "/travel",
"state": "travel",
"abstract": true,
"component": "vn-travel",
"description": "Travels"
}, {
"url": "/index?q",
"state": "travel.index",
"component": "vn-travel-index",
"description": "Travels"
}
]
}