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

Change the body class of plugin pages to standard component names (ex: mod_forum)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.0
    • General
    • None
    • MOODLE_20_STABLE

      Currently in Moodle every page gets a id and class added to the <body> element that represents the structure leading to the page being called:

      e.g. mod-chat
      grade-report-grader

      After talking to Petr we think this should be changed to use hyphens rather than underscores for consistency, underscores being the preferred character.
      The only foreseeable problem with this is that the chat module has directories using underscores (which I've been told is a no-no anyway) so these would need to be renamed at the same type.

      If there are no arguments to doing this I'll look to tackle it while I work with all of the CSS for the base theme.

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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