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

Add a modname class to body (backport of MDL-75844) to 4.0

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide

      (Copied from MDL-75844)

      • Go to course page
      • Create a module(activity or resource). e.g.:  Page
      • Open browser developer tools, and inspect the body tag. (E.g. Press F12)
      • Confirm that cm-type-{modname} is included in the body tags. 
      Show
      (Copied from  MDL-75844 ) Go to course page Create a module(activity or resource). e.g.:  Page Open browser developer tools, and inspect the body tag. (E.g. Press F12) Confirm that cm-type-{modname} is included in the body tags. 

      Backport the improvement MDL-75844 to 4.0.

      While being generally a useful thing, most specifically this fix is requred by the StudentQuiz activity, so we can fix this issue: https://github.com/studentquiz/moodle-mod_studentquiz/pull/421. As you can see there, the automated tests are now passing for master, but not for 400 stable. Since StudentQuiz is fairly widely used component that we support no behalf of the community, we would like to be able to fix this for all 4.x versions, so thank you for considering this backport request.

            vuvanhieu143 Hieu Vu
            vuvanhieu143 Hieu Vu
            Tim Huiner Tim Huiner
            Andrew Lyons Andrew Lyons
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 27 minutes
                27m

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