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

Recent activity report markup

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.1.2, 3.2
    • None
    • Course, Reports
    • None
    • MOODLE_31_STABLE, MOODLE_32_STABLE

    Description

      The recent activity report doesn't spit out consistent markup because each module has total control of the markup that gets spat out.
      This makes it very difficult to style it - results in lots of extra CSS.
      I think for every module the following is output

      icon, title of module
      user avatar, sub title, date of activity

      So it doesn't make much sense for modules to be redefining the markup over and over inconsistently.

      All modules should spit out the same markup - the only bit the module should have control over via a function in lib.php is the title per activity row. If absolutely necessary an 'extra html' function could exist to add extra html after the standard markup.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brudinie guy thomas
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: