Moodle

Gradebook headers have no tooltips, so long titles are hidden and unreadable (+ fix)

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: 1.9.5
  • Component/s: Gradebook
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

This has bugged me for a while.

Add this in place of line 844 of /grade/lib.php

$title = $element['object']->get_name();
$header .= $title;

And this in place of line 865:

$header = '<a href="'.$url.'" title="'.$title.'">'.$header.'</a>';

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Assigning to Nicolas

Show
Eloy Lafuente (stronk7) added a comment - Assigning to Nicolas
Hide
Nicolas Connault added a comment -

Fixed, thanks Matt.

Show
Nicolas Connault added a comment - Fixed, thanks Matt.
Hide
Helen Foster added a comment -

Matt, thanks for your report + fix, and Nicolas, thanks for implementing it.

Show
Helen Foster added a comment - Matt, thanks for your report + fix, and Nicolas, thanks for implementing it.
Hide
Teresa Gibbison added a comment -

I like this! Just noticed though that any activity that has double quote marks in it (our Moodle Features Demo) the tool tip stops before the first quote - screenshot attached.

Show
Teresa Gibbison added a comment - I like this! Just noticed though that any activity that has double quote marks in it (our Moodle Features Demo) the tool tip stops before the first quote - screenshot attached.
Hide
Helen Foster added a comment -

Teresa, thanks for your comment and screenshot. Reopening this issue...

Show
Helen Foster added a comment - Teresa, thanks for your comment and screenshot. Reopening this issue...
Hide
Petr Škoda (skodak) added a comment -

fixed, there was a problem with quoting of text in title attribute
thanks for the report

Show
Petr Škoda (skodak) added a comment - fixed, there was a problem with quoting of text in title attribute thanks for the report

Dates

  • Created:
    Updated:
    Resolved: