Moodle

Long group names can make drop down box too wide

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

New (2008) quiz reports in OU Moodle

See attachment.
Overspilling occurs with Firefox 2 and IE7. IE6 throws a new line and doesn't look so bad.

Separate groups shows how a typical OU tutor group is named.
Including this same information in the Show/Download drop down box makes it too long.

Do we need to repeat the Group name in the Show/Download drop down box when it's already available on screen. I suggest not and it can be removed.

Activity

Hide
Jamie Pratt added a comment -

Added an if condition to test the length of the group name. If it is more than 20 characters then we use the string 'this group' instead of the group name in the drop down box.

Show
Jamie Pratt added a comment - Added an if condition to test the length of the group name. If it is more than 20 characters then we use the string 'this group' instead of the group name in the drop down box.
Hide
Jamie Pratt added a comment -

Attaching a patch than can be applied to the OU code base.

Show
Jamie Pratt added a comment - Attaching a patch than can be applied to the OU code base.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: