update left menu path,

This commit is contained in:
louiscklaw
2025-04-24 23:31:33 +08:00
parent 6884f1466f
commit d73e5f9c22
45 changed files with 247 additions and 5474 deletions

View File

@@ -35,32 +35,25 @@ export const layoutConfig = {
key: 'lesson-types',
title: 'dashboard.lessonTypes.list',
href: paths.dashboard.lesson_types.list,
//
},
{
key: 'lesson-types:create',
title: 'dashboard.lessonTypes.create',
href: paths.dashboard.lesson_types.create,
},
],
},
{
key: 'lesson-categories',
title: 'categories',
icon: 'users',
items: [
{
key: 'lesson-categories',
title: 'dashboard.lessonTypes.list',
title: 'dashboard.lessonCategories.list',
href: paths.dashboard.lesson_categories.list,
},
{
key: 'lesson-categories:create',
title: 'dashboard.lessonTypes.create',
href: paths.dashboard.lesson_categories.create,
key: 'vocabulary',
title: 'dashboard.vocabulary.list',
href: paths.dashboard.vocabulary.list,
},
{
key: 'connectives',
title: 'dashboard.connective.list',
href: paths.dashboard.connectives.list,
},
],
},
{
key: 'quiz_lp',
title: 'listening-practice',
@@ -124,9 +117,10 @@ export const layoutConfig = {
title: 'teachers',
icon: 'users',
items: [
{ key: 'teachers', title: 'List teachers', href: paths.dashboard.teachers.list },
{ key: 'teachers:create', title: 'Create teacher', href: paths.dashboard.teachers.create },
{ key: 'teachers:details', title: 'Teacher details', href: paths.dashboard.teachers.details('1') },
{ key: 'teachers', title: 'List', href: paths.dashboard.teachers.list },
{ key: 'teacher-mail', title: 'Mail', href: paths.dashboard.teachers.mail.list('1') },
// { key: 'teachers:create', title: 'Create teacher', href: paths.dashboard.teachers.create },
// { key: 'teachers:details', title: 'Teacher details', href: paths.dashboard.teachers.details('1') },
],
},
{