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

Display the full names instead of the short names for the course dropdown filter in the calendar

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_405_STABLE
    • MDL-81250-main
    • Hide
      1. Login as admin
      2. Create a course with the full course name and maximum name length.  For example: abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz
      3. Navigate to the Dashboard page
      4. VERIFY the course filter dropdown in the Calendar is using the course full name as the option.
      5. VERIFY that the created course name is truncated to 50 characters.
      6. Create a new event by clicking the New Event button.
      7. Click Show more...
      8. Choose "Course" as the Type of event.
      9. Expand the Course autocomplete field.
      10. VERIFY that the created course name is wrapped into multiple lines and does not break the layout.
      Show
      Login as admin Create a course with the full course name and maximum name length.  For example: abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz Navigate to the Dashboard page VERIFY the course filter dropdown in the Calendar is using the course full name as the option. VERIFY that the created course name is truncated to 50 characters. Create a new event by clicking the New Event button. Click Show more... Choose "Course" as the Type of event. Expand the Course autocomplete field. VERIFY that the created course name is wrapped into multiple lines and does not break the layout.

      When adding a course calendar event it's shown the full name in the dropdown list of courses. It's OK.

      But when viewing the calendar the dropdown list of courses, the shortname is shown. It's confusing for instructors.

      I've change line 291 from renderer.php inside calendar. I've changed shortname by fullname. Now it's seen as expected by instructors.

      I'll attach some screenshots and the patch I've applied to my current 4.1.9 version.


        1. (1) 10 Passed -- (Main)MDL-81250.png
          (1) 10 Passed -- (Main)MDL-81250.png
          77 kB
        2. (1) 5 Passed -- (Main)MDL-81250.png
          (1) 5 Passed -- (Main)MDL-81250.png
          62 kB
        3. add_event_button.mustache.patch
          0.5 kB
        4. bug_1.png
          bug_1.png
          208 kB
        5. bug_2.png
          bug_2.png
          297 kB
        6. combined.patch
          2 kB
        7. combined-1.patch
          2 kB
        8. faltanasignaturas.png
          faltanasignaturas.png
          128 kB
        9. image-2024-05-13-07-42-04-990.png
          image-2024-05-13-07-42-04-990.png
          26 kB
        10. image-2024-06-18-16-33-47-680.png
          image-2024-06-18-16-33-47-680.png
          92 kB
        11. MDL-81250_calendar_dashaboard_new.png
          MDL-81250_calendar_dashaboard_new.png
          17 kB
        12. MDL-81250_calendar_dashaboard.png
          MDL-81250_calendar_dashaboard.png
          15 kB
        13. MDL-81250_calendar_view_new.png
          MDL-81250_calendar_view_new.png
          43 kB
        14. MDL-81250_calendar_view.png
          MDL-81250_calendar_view.png
          32 kB
        15. nombrecorto.png
          nombrecorto.png
          68 kB
        16. padding.png
          padding.png
          185 kB
        17. renderer.patch
          0.6 kB
        18. renderer-1.patch
          1.0 kB
        19. view_selector.mustache.patch
          0.8 kB

            sollericos Eduardo Domínguez
            sollericos Eduardo Domínguez
            Meirza Meirza
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 25 minutes
                1d 4h 25m

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