salix/modules/route/front/routes.json

64 lines
1.8 KiB
JSON

{
"module": "route",
"name": "Routes",
"icon": "icon-delivery",
"validations" : true,
"dependencies": ["client", "worker", "ticket"],
"menu": [
{"state": "route.card.basicData", "icon": "settings"},
{"state": "route.card.log", "icon": "history"}
],
"routes": [
{
"url": "/route",
"state": "route",
"abstract": true,
"component": "ui-view",
"description": "Routes",
"acl": ["employee"]
},
{
"url": "/index?q",
"state": "route.index",
"component": "vn-route-index",
"description": "Routes"
},
{
"url": "/create",
"state": "route.create",
"component": "vn-route-create",
"description": "New route"
},
{
"url": "/:id",
"state": "route.card",
"abstract": true,
"component": "vn-route-card"
},
{
"url": "/summary",
"state": "route.card.summary",
"component": "vn-route-summary",
"description": "Summary",
"params": {
"route": "$ctrl.route"
}
},
{
"url": "/basic-data",
"state": "route.card.basicData",
"component": "vn-route-basic-data",
"description": "Basic data",
"params": {
"route": "$ctrl.route"
},
"acl": ["delivery"]
}, {
"url" : "/log",
"state": "route.card.log",
"component": "vn-route-log",
"description": "Log",
"acl": ["delivery"]
}
]
}