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

Course renderer should produce the full course module output

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Course, JavaScript
    • Labels:

      Description

      To make our course javascript simpler and reduce possible discrepancies, we should change our course renderers to have a function which produces the full output including <li> elements.

      At present, the course dndupload code is forced to call each of the functions independently, and then rebuild the CM clientside. This is buggy (we have minor issues with whitespace because of it), slow, and breakable.

      If we move the creation of the list element out of the JS, themes can override the renderers and these changes will be reflected in our JS.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              dobedobedoh Andrew Nicols
              Peer reviewer:
              Marina Glancy
              Integrator:
              Sam Hemelryk
              Tester:
              Rossiani Wijaya
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13