forked from simaya/simaya
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsidebar-settings.js
More file actions
69 lines (68 loc) · 1.75 KB
/
Copy pathsidebar-settings.js
File metadata and controls
69 lines (68 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
module.exports = function() {
return {
'suratmasuk': [
{
icon: 'icon-envelope',
text: 'Surat Masuk',
route: '/incoming',
id: 'incoming',
submenu: [
{text: 'Surat Masuk', route: '/incoming'},
{text: 'Tembusan', route: '/incoming/cc'},
{text: 'Disposisi Masuk', route: '/dispositions'}
]
}
],
'suratkeluar': [
{
icon: 'icon-envelope-alt',
text: 'Surat Keluar',
route: '',
id: 'outgoing',
submenu: [
{text: 'Surat Keluar', route: '/outgoing'},
{text: 'Konsep', route: '/outgoing/draft'},
{text: 'Batal', route: '/outgoing/cancel'},
{text: 'Buat Surat', route: '/outgoing/new'},
{text: 'Disposisi Keluar', route: '/dispositions/outgoing'},
]
}
],
'plh': [
{
icon: 'icon-group',
text: 'PLH',
route: '/deputy',
id: 'deputy',
submenu: [
{text: 'PLH', route: '/deputy'},
]
}
],
'template': [
{
icon: 'icon-copy',
text: 'Template',
route: '/templates',
id: 'templates',
submenu: [
{text: 'Template', route: '/templates'},
]
}
],
'agenda': [
{
icon: 'icon-list-alt',
text: 'Agenda',
route: '',
id: 'agenda',
submenu: [
{text: 'Agenda Masuk', route: '/agenda/incoming'},
{text: 'Agenda Keluar', route: '/agenda/outgoing'},
{text: 'Surat Masuk Manual', route: '/incoming/external', onlyShowInRoles: ["tatausaha"]},
{text: 'Surat Keluar Manual', route: '/outgoing/external', onlyShowInRoles: ["tatausaha"]}
]
}
],
}
}();