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

Use templates/renderers on enrol/index.php page

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_500_STABLE
    • Hide
      1. Create a course
      2. Add self enrolment method and some other that allows users to enrol themselves - like enrolment on payment
      3. As a user who is not enrolled to a course go to enrol/index.php?id=COURSEID
      4. Ensure you can see course info - coursename, teachers
      5. Ensure for enabled method you see a relevant section (for self enrolment there should be enrol me button, for enrolment on payment - 'Select payment type' button and price)
      6. Ensure if no suiteable method is enabled - relevant message is shown (No available etc)
      Show
      Create a course Add self enrolment method and some other that allows users to enrol themselves - like enrolment on payment As a user who is not enrolled to a course go to enrol/index.php?id=COURSEID Ensure you can see course info - coursename, teachers Ensure for enabled method you see a relevant section (for self enrolment there should be enrol me button, for enrolment on payment - 'Select payment type' button and price) Ensure if no suiteable method is enabled - relevant message is shown (No available etc)
    • Hide

      Code verified against automated checks.

      Checked MDL-84143 using repository: https://github.com/marinaglancy/moodle.git

      More information about this report

      Built on: Wed Mar 12 11:36:37 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84143 using repository: https://github.com/marinaglancy/moodle.git main (0 errors / 0 warnings) [branch: MDL-84143 | CI Job ] More information about this report Built on: Wed Mar 12 11:36:37 UTC 2025
    • 3
    • WP Sprint 2025-I1.1 (Espresso), WP Sprint 2025-I1.2 (Espresso), WP Sprint 2025-I1.3 (Espresso)

      Allow themes to override the enrol/index.php page.

      Even just moving lines 105-125 into a single renderer function will help themers

            ilyatregubov Ilya Tregubov
            marina Marina Glancy
            Marina Glancy Marina Glancy
            Paul Holden Paul Holden
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 55 minutes
                1d 1h 55m

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