salix/client/ticket/routes.json

80 lines
2.0 KiB
JSON
Raw Normal View History

2018-03-12 13:02:29 +00:00
{
"module": "ticket",
"name": "Tickets",
2018-03-14 10:15:14 +00:00
"icon": "icon-ticket",
2018-03-12 13:02:29 +00:00
"validations": false,
"routes": [
{
2018-03-14 10:41:19 +00:00
"url": "/ticket",
"state": "ticket",
"abstract": true,
"component": "ui-view"
},
{
"url": "/list?q",
"state": "ticket.list",
"component": "vn-ticket-list"
},
{
"url": "/create",
"state": "ticket.create",
"component": "vn-ticket-create"
},
{
"url": "/:id",
"state": "ticket.card",
"abstract": true,
"component": "vn-ticket-card"
},
2018-03-14 11:12:06 +00:00
{
"url": "/summary",
"state": "ticket.card.summary",
"component": "vn-ticket-summary",
"params": {
"ticket": "$ctrl.ticket"
}
},
2018-03-14 10:41:19 +00:00
{
"url" : "/data",
"state": "ticket.card.data",
"component": "vn-ticket-data",
"params": {
"ticket": "$ctrl.ticket"
},
"menu": {
"description": "Basic data",
"icon": "settings"
}
},
{
"url" : "/package",
"abstract": true,
"state": "ticket.card.package",
"component": "ui-view"
},
{
"url": "/list",
"state": "ticket.card.package.list",
"component": "vn-ticket-package-list",
"params": {
"ticket": "$ctrl.ticket"
},
"menu": {
"description": "Packages",
"icon": "icon-bucket"
}
2018-03-16 07:56:40 +00:00
},
{
"url" : "/review",
"state": "ticket.card.review",
"component": "vn-ticket-review",
"params": {
"ticket": "$ctrl.ticket"
},
"menu": {
"description": "Review",
"icon": "remove_red_eye"
}
2018-03-12 13:02:29 +00:00
}
]
}