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

Update upcoming block

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as admin.
      2. Add Upcoming events block.
      3. If there's no events in the future, it should display the message: There are no upcoming events
      4. Now, go to Calendar and add various events in the future, of different types (site, user, course, subscription)...
      5. Go back to Site home.
      6. Make sure:
        • It displays the events you have created in the future.
        • It should display the respective font awesome icon to that event type. (Please note some icons are not correct, it is going to be fixed by MDL-60372)
        • The dates should match the events you created.
        • Go to calendar link should take you to Upcoming view
        • The Add new event link should not be displayed any more.
        • Clicking on the event title link should take you to Day view on which that event has been created.
        • The format of the date should be something linke Tomorrow, 4:30 PM » 5:30 PM and clicking on the day link, will take you to day view.
      7. Go to the user menu and select Preferences
      8. Click on Calendar preferences
      9. Change Maximum upcoming events to 2.
      10. Go back to where you have added the calendar upcoming block and make sure just 2 events are displayed.
      11. Now, go to Calendar and create an event in three months time (let's say December)
      12. Go to Calendar user preference again, and now, change Upcoming events look-ahead setting to 3 months.
      13. Go back to where you have added upcoming block and make sure the event you have created in December is now displayed.
      Show
      Log in as admin. Add Upcoming events block. If there's no events in the future, it should display the message: There are no upcoming events Now, go to Calendar and add various events in the future, of different types (site, user, course, subscription)... Go back to Site home. Make sure: It displays the events you have created in the future. It should display the respective font awesome icon to that event type. (Please note some icons are not correct, it is going to be fixed by MDL-60372 ) The dates should match the events you created. Go to calendar link should take you to Upcoming view The Add new event link should not be displayed any more. Clicking on the event title link should take you to Day view on which that event has been created. The format of the date should be something linke Tomorrow, 4:30 PM » 5:30 PM and clicking on the day link, will take you to day view. Go to the user menu and select Preferences Click on Calendar preferences Change Maximum upcoming events to 2. Go back to where you have added the calendar upcoming block and make sure just 2 events are displayed. Now, go to Calendar and create an event in three months time (let's say December) Go to Calendar user preference again, and now, change Upcoming events look-ahead setting to 3 months. Go back to where you have added upcoming block and make sure the event you have created in December is now displayed.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60092-master

      Description

      Upcoming block - may need to be based on upcoming view.

        Attachments

        1. Selection_483.png
          Selection_483.png
          31 kB
        2. Selection_486.png
          Selection_486.png
          21 kB
        3. Selection_487.png
          Selection_487.png
          38 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17