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

Ensure templates respect events' actionability

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin.
      2. Add the 'My overview' block to the dashboard by default.
      3. Visit a course that has at least one student enrolled.
      4. Create an assignment that starts sometime in the future.
      5. Log in as a student of that course and visit your dashboard.
      6. Confirm 'Add submission' text is greyed out and unclickable.
      7. Log back in as the admin and edit the assignment so the start time is a day earlier.
      8. Log back in as the student and view your dashboard.
      9. Confirm the 'Add submission' text is a URL and takes you to the correct location.
      Show
      Log in as an admin. Add the 'My overview' block to the dashboard by default. Visit a course that has at least one student enrolled. Create an assignment that starts sometime in the future. Log in as a student of that course and visit your dashboard. Confirm 'Add submission' text is greyed out and unclickable. Log back in as the admin and edit the assignment so the start time is a day earlier. Log back in as the student and view your dashboard. Confirm the 'Add submission' text is a URL and takes you to the correct location.
    • Affected Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58101_master
    • Sprint:
      3.3 Project Team Sprint 3

      Description

      We added an actionability characteristic in MDL-57730 so that we can display an event on the my overview block but have the link greyed out (unactionable). This means the user can see that an event is happening in the future (and prepare for it) but currently can not action it (eg. submit an assignment due to submission date being in the future). This means users can see events in the future without them suddenly appearing when they become actionable.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              markn Mark Nelson
              Peer reviewer:
              cameron1729
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: