Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-73462-master -
-
3
-
Navigation push 14
Description
Steps to reproduce:
- Login as admin
- Go to "Site administration > Courses > Manage courses and categories".
- Create a new category with a super-long name (for instance, "Miscellaneous with a long long long long title to test if it's truncated. Etiam massa orci, vehicula sed ligula sit amet, lobortis eleifend magna")
Expected behaviour
The secondary navigation is displayed.
Current behaviour
Only the "More" button of the secondary navigation appears.
After having a discussion regarding this issue, it was decided that we need to modify the secondary and tertiary navigation in the course categories management page. These proposed improvements should also resolve this problem in the course category context. The following changes need to be done:
- In the course category context the following items should be present in the secondary navigation menu:
- Category - link to the course category view page (originally 'Category: {categoryname}, the category name part needs to be removed)'
- Settings - link to the edit category settings page (originally 'Edit this category', needs to be renamed to Settings),
- Permissions
- Cohorts
- Filters
- Restore courses
- Learning plan templates
- Competency frameworks
- Content bank.
- The header text in the course category pages should correspond to the category name (ex. Miscellaneous)
- In the category view page (Category)
- The Category secondary navigation item should be highlighted
- Add the following items in the tertiary navigation:
- Navigation selector element containing a list (links) of the available course categories (aligned to the left)
- 'Search courses' input field (aligned to the left. right next to the category selector)
- 'More' dropdown element (aligned to the right), containing the following items:
- New course (link to the 'Add a new course' page)
- Manage courses (link to the 'Course and category management' page related to the given category)
- Remove the 'Manage courses' button from the page header
- Remove the 'Add a new course' and 'Courses pending approval' buttons (at the bottom of the page)
- In the 'Add a new course' page
- The Category secondary navigation item should be highlighted
- In the 'Course and category management' page (Note: the breadcrumbs displayed on the prototype should be ignored)
- The Category secondary navigation item should be highlighted
- Add the following items in the tertiary navigation:
- Navigation selector element containing (aligned to the left) the following items: 'Course categories and courses', 'Course categories' and 'Courses'.
- Search courses input field (next to the the view selector)
- When 'Courses' view is selected, add another navigation selector element right next to the general navigation selector element which will contain the the available categories.
- Remove the 'Viewing' dropdown
- Update the heading to 'Manage courses and categories'
- In the settings cog dropdown menu for each category add 'View' item (link to the category view page)
- In the 'Permissions' page
- Add the following items in the tertiary navigation
- Navigation selector element containing (aligned to the left) the following items: 'Permissions', 'Check permissions' and 'Assign roles'.
These requirements are presented on the following figma design prototype https://www.figma.com/proto/gHd0sjZCeq2Dog2pGugldo/Navigation?page-id=7544%3A1&node-id=12594%3A261796&viewport=403%2C48%2C0.13&scaling=scale-down&starting-point-node-id=7544%3A8817