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

Allow themes to override the course pattern used on the dashboard

    XMLWordPrintable

    Details

    • Testing Instructions:
      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
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-65449-master

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                20/May/19

                Time Tracking

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