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

Navbar My courses and Site admin Courses have the same data-key

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0
    • 4.0.2
    • Navigation

    Description

      The data-key for the new main navbar item "My Courses" and the Site administration menu item "Courses" both have the data-key="courses".

      Thus hiding the main My courses via CSS (just as we used to do with the Boost Navdrawer) will also hide the Site admin entry.

      Suggest to name the key for "My Courses" to "mycourses".

      To reproduce:

      Log in as administrator.
      View Navbar My courses in the browser inspector.
      View Site admin menu item Courses in browser inspector.

      Attachments

        Activity

          People

            Plysak Oleksiy
            thornedu Randy Thornton
            Mathew May Mathew May
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jul/22

              Time Tracking

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