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

Allow themes to override the course pattern used on the dashboard

XMLWordPrintable

    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-65449-master
    • Easy
    • Hide

      This patch does not change the UI, it only changes the location of 2 methods.

      • Login as admin
      • Create a new courses c1 and c2
      • Enrol yourself in courses c1 and c2
      • Verify you still see a course pattern for courses c1 and c2
      • Verify the colour pattern for course c1 is different from course c2
      Show
      This patch does not change the UI, it only changes the location of 2 methods. Login as admin Create a new courses c1 and c2 Enrol yourself in courses c1 and c2 Verify you still see a course pattern for courses c1 and c2 Verify the colour pattern for course c1 is different from course c2

      Themes should be able to override the core generated course pattern when no course image is available.

      The course_summary_exporter used by the my overview block and others does not allow overriding the generated course pattern.

      To allow themes to override these course patterns the methods for generating them can be moved to the core renderer.

            basbrands Bas Brands
            basbrands Bas Brands
            Mathew May Mathew May
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 20 minutes
                2h 20m

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