Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71092

Improve secondarynav appearance in other contexts

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-71092-master
    • Hide
      1. Go to "Site administration > Courses > Manage courses and categories"
      2. Check that there is a secondary navigation bar. It should contain:
        • Edit this category
        • Add a subcategory
        • Assign roles
        • Permissions
        • A more menu with other items.
      3. Click "Create a new category" and fill in the details to create a new category.
      4. Select the new category.
      5. Click the first tab "Category: name for your category".
      6. Check that you are on the '../course/index.php?categoryid=somenumber' page.
      7. Check that the secondary navigation exists here as well.
      Show
      Go to "Site administration > Courses > Manage courses and categories" Check that there is a secondary navigation bar. It should contain: Edit this category Add a subcategory Assign roles Permissions A more menu with other items. Click "Create a new category" and fill in the details to create a new category. Select the new category. Click the first tab "Category: name for your category". Check that you are on the '../course/index.php?categoryid=somenumber' page. Check that the secondary navigation exists here as well.
    • 3
    • Navigation push ahead, Navigation push 2, Navigation push 3, Navigation push 4

      Currently the secondarynav only appears in pages with COURSE, MODULE, SYSTEM contexts. However there are subpage within these pages where the context changes to something other than the 3 above. In these cases we still need to display the secondarynav that was previously displayed.

      e.g. during testing it was identified that when navigating to the course/management.php page, the secondary nav wasn't generated. This is because the context is now COURSECAT, which is not handled currently by the secondarynav. 

      Additional points to note/consider/discuss:

      1. When editing a block's settings within a course context, with the current implementation, we still show the course nav. 
      2. In the category page(when there are more than 1 categories), no secondary nav is displayed.

      Investigation continues into the other contexts.

            abgreeve Adrian Greeve
            peterdias Peter Dias
            Peter Dias Peter Dias
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 5 minutes
                1d 3h 5m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.