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

Recent activity report markup

XMLWordPrintable

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

      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.

            Unassigned Unassigned
            brudinie guy thomas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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