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

The UI for setting enrolment end date/duration should be consistent

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      This needs to be tested in Boost and Classic themes.

      1. Login as a teacher or admin
      2. Create a new course
      3. Navigate to the course => Users = Enrolled users
      4. Click on the "Enrol users" button
        1. Click show more
        2. Select a user
        3. Set a start and end date
        4. Enrol the user
      5. Click the info button for that user
        1. Confirm that both the start and end dates are both displayed and respected
      6. Click the edit button
      7. Change the start and end dates and save changes
      8. Click the info button for that user
        1. Confirm that both the start and end dates are both displayed and respected
      9. Click the edit button
      10. Disable the end date
      11. Choose an "Enrolment duration" and save change*
      12. Click the info button for that user
        1. Confirm that both the start and end dates are both displayed and respected
      Show
      This needs to be tested in Boost and Classic themes. Login as a teacher or admin Create a new course Navigate to the course => Users = Enrolled users Click on the "Enrol users" button Click show more Select a user Set a start and end date Enrol the user Click the info button for that user Confirm that both the start and end dates are both displayed and respected Click the edit button Change the start and end dates and save changes Click the info button for that user Confirm that both the start and end dates are both displayed and respected Click the edit button Disable the end date Choose an "Enrolment duration" and save change* Click the info button for that user Confirm that both the start and end dates are both displayed and respected
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64032-master

      Description

      There are three different places where you can create or edit enrolments:

      1. Enrol users pop-up, accessed by clicking 'Enrol users' on the enrolled users screen .../user/index.php?id=2
      2. Edit enrolment pop-up, accessed by clicking the 'Edit enrolment' icon.
      3. The old enrol users UI .../enrol/manual/manage.php?enrolid=123

      1 & 3 show start date and enrolment duration.

      2 shows enrolment start and end dates (which is more useful for us).

      We would like it to be consistent, and include end date everywhere. That probably means having both end date and duration, with a disabledIf rule, so you can set one or the other, but not both.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Time Tracking

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