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

Create a course setting for displaying activity dates

XMLWordPrintable

    • MOODLE_311_STABLE
    • MDL-70782-master
    • Hide

      I suggest to test this logged in as admin having two browser windows open side by side.

      1. On window 1 logged in as admin go to Site administration > Courses > Course default settings
      2. Make sure a new setting is present Show activity dates - showactivitydates
      3. Make sure default value is set to Yes
      4. On window 2 logged in as admin, go to Site home and click Add new course
      5. With the new course form open, expand Appearance
      6. Make sure a new setting is present Show activity dates
      7. Make sure default value is set to Yes
      8. Click on the help icon next to icon, make sure the text matches the prototype
        • "The activity dates are displayed in the list of activities on the course page and in the activity"
      9. On window 1, change the showactivitydates setting to No and save.
      10. On window 2 still with form open reload the page.
      11. Make sure default value for Show activity dates setting is now set to No
      12. On window 1, change the showactivitydates setting back to Yes and save.
      13. On window 2 still with form open reload the page.
      14. Make sure default value for Show activity dates setting is now set to Yes
      15. Finish filling the form and create the course.
      16. Add a choice activity setting Allow responses from and Allow responses from to a date in the future.
      17. Make sure the activity dates are visible on the choice page. eg.

        Opens: 11 March 2021, 7:49 PM
        Closes: 16 March 2021, 7:49 PM
        

      18. Go back and edit the course again, this time changing the Show activity dates setting to No and save.
      19. Go back to the choice activity you have created.
      20. Make sure the activity dates are NOT visible on the choice page.
      21. Go back and edit the course again.
      22. On window 1 still on Default course settings change the default course setting showactivitydates to No and save.
      23. On window 2 reload the edit course settings page.
      24. Make sure default value for Show activity dates setting kept the value of the setting you have saved (Yes)
      Show
      I suggest to test this logged in as admin having two browser windows open side by side. On window 1 logged in as admin go to Site administration > Courses > Course default settings Make sure a new setting is present Show activity dates - showactivitydates Make sure default value is set to Yes On window 2 logged in as admin, go to Site home and click Add new course With the new course form open, expand Appearance Make sure a new setting is present Show activity dates Make sure default value is set to Yes Click on the help icon next to icon, make sure the text matches the prototype "The activity dates are displayed in the list of activities on the course page and in the activity" On window 1 , change the showactivitydates setting to No and save. On window 2 still with form open reload the page. Make sure default value for Show activity dates setting is now set to No On window 1 , change the showactivitydates setting back to Yes and save. On window 2 still with form open reload the page. Make sure default value for Show activity dates setting is now set to Yes Finish filling the form and create the course. Add a choice activity setting Allow responses from and Allow responses from to a date in the future. Make sure the activity dates are visible on the choice page. eg. Opens: 11 March 2021, 7:49 PM Closes: 16 March 2021, 7:49 PM Go back and edit the course again, this time changing the Show activity dates setting to No and save. Go back to the choice activity you have created. Make sure the activity dates are NOT visible on the choice page. Go back and edit the course again. On window 1 still on Default course settings change the default course setting showactivitydates to No and save. On window 2 reload the edit course settings page. Make sure default value for Show activity dates setting kept the value of the setting you have saved ( Yes )
    • 2
    • Internationals - 3.11 Sprint 6, Internationals - 3.11 Sprint 7, Internationals - 3.11 Sprint 8

      User story

      As a course creator/editing teacher
      I want to be able to configure the course to show activity dates
      so that I can decide if I want the activity dates to be shown

      Acceptance criteria
      1. Given I log in as an editing teacher/course creator, when I am at a course’s settings page, then I should see a setting that I can use to specify if I want the activity dates to be shown in the course or not.
      2. Given activity dates are set to be shown, when I go to a course's homepage, then I should see the dates for the activities in the course.
      3. Given activity dates are not set to be shown, when I go to a course's homepage, then I should not see the dates for the activities in the course.
      4. Given activity dates are set to be shown, when I view an activity with dates set, then those dates should be displayed on the activity's view page.
      5. Given activity dates are not set to be shown, when I view an activity with dates set, then those dates should not be displayed on the activity's view page.

            lameze Simey Lameze
            jpataleta Jun Pataleta
            Jun Pataleta Jun Pataleta
            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 - 6 hours, 30 minutes
                6h 30m

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