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

Remove the secondary navigation when there are no items to display.

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MDL-72934-master
    • Hide

      Prerequisites:

      1. Create a course with a student enrolled
      2. A glossary activity within the course

      Testing:

      1. Log in as an admin
      2. Confirm you see the primary navigation in the top bar
      3. Go to the course
      4. Confirm you see the secondary navigation with the more menu
      5. Go to the glossary activity
      6. Confirm you see the secondary navigation with the more menu
      7. Login as the student
      8. Go to the course
      9. Confirm you see the secondary navigation
      10. Go to the glossary activity
      11. Confirm you do not see the secondary navigation
      12. Confirm there is no space between the context header and content
      Show
      Prerequisites: Create a course with a student enrolled A glossary activity within the course Testing: Log in as an admin Confirm you see the primary navigation in the top bar Go to the course Confirm you see the secondary navigation with the more menu Go to the glossary activity Confirm you see the secondary navigation with the more menu Login as the student Go to the course Confirm you see the secondary navigation Go to the glossary activity Confirm you do not see the secondary navigation Confirm there is no space between the context header and content
    • 3

    Description

      When there are no items to display in the secondary navigation, then the secondary navigation should not be shown. It currently shows as dead white space.

      Screenshot of the problem attached.

      Attachments

        Issue Links

          Activity

            People

              peterdias Peter Dias
              abgreeve Adrian Greeve
              Mathew May Mathew May
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Gladys Basiana Gladys Basiana
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m