Skip to content

Commit

Permalink
rearrange menu
Browse files Browse the repository at this point in the history
  • Loading branch information
iqbaleff214 committed Jun 2, 2024
1 parent 36f776a commit 76f713b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
2 changes: 2 additions & 0 deletions lang/en/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
'change_password' => 'Change Password',
'locale' => 'Language',
'teacher' => 'Teacher',
'user_management' => 'User Management',
'setting' => 'Setting',
];
2 changes: 2 additions & 0 deletions lang/id/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
'change_password' => 'Ganti Password',
'locale' => 'Bahasa',
'teacher' => 'Pengajar',
'user_management' => 'Pengelolaan Pengguna',
'setting' => 'Pengaturan',
];
31 changes: 26 additions & 5 deletions resources/menu/verticalMenu.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,19 @@
"role": [
"owner",
"headmaster",
"admin",
"administrator",
"teacher",
"student_guardian"
]
},
{
"menuHeader": "menu.user_management",
"role": [
"owner",
"headmaster",
"administrator"
]
},
{
"url": "teacher.index",
"name": "menu.teacher",
Expand All @@ -20,7 +29,16 @@
"role": [
"owner",
"headmaster",
"admin",
"administrator"
]
},
{
"menuHeader": "menu.setting",
"role": [
"owner",
"headmaster",
"administrator",
"teacher",
"student_guardian"
]
},
Expand All @@ -31,7 +49,8 @@
"role": [
"owner",
"headmaster",
"admin",
"administrator",
"teacher",
"student_guardian"
],
"submenu": [
Expand All @@ -42,7 +61,8 @@
"role": [
"owner",
"headmaster",
"admin",
"administrator",
"teacher",
"student_guardian"
]
},
Expand All @@ -53,7 +73,8 @@
"role": [
"owner",
"headmaster",
"admin",
"administrator",
"teacher",
"student_guardian"
]
}
Expand Down

0 comments on commit 76f713b

Please sign in to comment.