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

styles.php should be changed in grader for 1.9 gradebook to make it usable with Patch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      With the current style inherited from standard (with .flexible th set to whitespace: nowrap), the horizontal format of the grader report makes it almost unusable unless assignment titles are very short.

      Recommend adding at a minimum to add to \grade\report\grader\styles.php as the improvement is obvious

      .flexible th {
      white-space:normal;
      }

      .gradestable th.user img {
      width: 20px;
      }

      ---------
      The first was recommend by our school's server administrator Karlene Clapp and the second in comments to my posting of Matt Gibson in MDL-12025.

      Other changes that that have been suggested, but are items that are not as obviously needed would be:
      .gradestable th.header{
      background-image:none;
      }
      .gradestable th.user, .gradestable th.range {
      whitespace: nowrap;
      }

      Lowering the font size used in the report might also be useful.

        Attachments

        1. After style applied to grader report.jpg
          101 kB
          Gary Anderson
        2. UnpatchedScreenOfNormalWidth.jpg
          84 kB
          Gary Anderson
        3. Unpatched styles.php.jpg
          118 kB
          Gary Anderson

          Activity

            People

            Assignee:
            lazyfish Yu Zhang
            Reporter:
            ganderson Gary Anderson
            Tester:
            Nicolas Martignoni
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08