Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4.1
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide
      1. Create course in format AAA (any)
      2. Create course in format BBB (any other)
      3. Make sure pages inside first course have body class 'format-AAA', pages inside second course have body class 'format-BBB' and pages outside of the courses (i.e. frontpage, etc) have classes 'format-site'
      Show
      Create course in format AAA (any) Create course in format BBB (any other) Make sure pages inside first course have body class 'format-AAA', pages inside second course have body class 'format-BBB' and pages outside of the courses (i.e. frontpage, etc) have classes 'format-site'
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-37404-master

      Description

      Add CSS class 'format-xxx' to the body for current course format

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Marina Glancy added a comment -

            If integrators approve, I would like to cherry-pick to 2.4

            Show
            Marina Glancy added a comment - If integrators approve, I would like to cherry-pick to 2.4
            Hide
            Sam Hemelryk added a comment -

            Thanks Marina - this has been integrated now

            Show
            Sam Hemelryk added a comment - Thanks Marina - this has been integrated now
            Hide
            Sam Hemelryk added a comment -

            Should mention I think this needs to be backported to 24 so it has been done.

            Show
            Sam Hemelryk added a comment - Should mention I think this needs to be backported to 24 so it has been done.
            Hide
            David Monllaó added a comment -

            It passes

            Show
            David Monllaó added a comment - It passes
            Hide
            Eloy Lafuente (stronk7) added a comment -

            And your fantastic code has met core, hope they become good friends for a long period.

            Closing, thanks!

            Show
            Eloy Lafuente (stronk7) added a comment - And your fantastic code has met core, hope they become good friends for a long period. Closing, thanks!

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: