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

Remove course short names from unenrolme string

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_402_STABLE
    • MDL-77145-master
    • Hide
      1. Login as Admin
      2. Create a course with a short name with any value 
      3. On the course page, click the 'More' dropdown.
      4. CONFIRM that the dropdown item that contains 'Unenrol me...' does not contain the short course name and reads 'Unenrol me from this course'.
      Show
      Login as Admin Create a course with a short name with any value  On the course page, click the 'More' dropdown. CONFIRM that the dropdown item that contains 'Unenrol me...' does not contain the short course name and reads 'Unenrol me from this course'.
    • 1
    • Team Hedgehog Sprint 2.1
    • Small

      When a course's short name is very long, it will push the dropdown item width out and break layout.

      To recreate, make a new course with any course name you want, but make the short name very long (get as close to the 100 character limit as you can to really see the issue).

      Now, go to the course and access the 'More' dropdown. Notice that the dropdown menu is very wide and most likely exceeds your page width.

      This issue can be easily resolved by removing the unnecessary mention of the course shortname in the 'unenrolme' string. The item in the dropdown menu would then read 'Unenrol me from this course'. 

      This issue is related to MDL-76947 and has been commented on with the proposed solution.

            david.woloszyn@moodle.com David Woloszyn
            david.woloszyn@moodle.com David Woloszyn
            Huong Nguyen Huong Nguyen
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 55 minutes
                3h 55m

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