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

Improve secondarynav appearance in other contexts

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-71092-master
    • Testing Instructions:
      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.
    • Story Points:
      3
    • Sprint:
      Navigation push ahead, Navigation push 2, Navigation push 3, Navigation push 4

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abgreeve Adrian Greeve
              Reporter:
              peterdias Peter Dias
              Peer reviewer:
              Peter Dias Peter Dias
              Integrator:
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Tester:
              Angelia Dela Cruz Angelia Dela Cruz
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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