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

Provide a way to print a single activity like in print_section

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.4.2
    • Course
    • MOODLE_24_STABLE
    • MOODLE_25_STABLE

      Before MDL-35339, one could pass a custom list of course modules to print in the section. Example: I could print just a single activity in the section. This is handy for custom course formats.

      Now, the $mods parameter is not used and all the code for printing an activity is trapped inside of print_section. The suggestion would be to move the rendering code of the single activity to a separate method (probably multiple methods, it's a lot of code, but one method to kick off default rendering) so it can be re-used outside of print_section.

            Unassigned Unassigned
            bushido Mark Nielsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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