mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'wip-MDL-49694-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
b38b62f86c
@ -158,7 +158,7 @@ class grade_report_overview extends grade_report {
|
||||
continue;
|
||||
}
|
||||
|
||||
$courseshortname = format_string($course->shortname, true, array('context' => $coursecontext));
|
||||
$courseshortname = format_string(get_course_display_name_for_list($course), true, array('context' => $coursecontext));
|
||||
$courselink = html_writer::link(new moodle_url('/grade/report/user/index.php', array('id' => $course->id, 'userid' => $this->user->id)), $courseshortname);
|
||||
$canviewhidden = has_capability('moodle/grade:viewhidden', $coursecontext);
|
||||
|
||||
|
@ -77,8 +77,8 @@ Feature: We can enter in grades and view reports from the gradebook
|
||||
| Grade item | Grade | Range | Percentage |
|
||||
| Course total | 90.00 | 0–100 | 90.00 % |
|
||||
And I set the field "Grade report" to "Overview report"
|
||||
And "C1" row "Grade" column of "overview-grade" table should contain "170.00"
|
||||
And "C1" row "Grade" column of "overview-grade" table should not contain "90.00"
|
||||
And "Course 1" row "Grade" column of "overview-grade" table should contain "170.00"
|
||||
And "Course 1" row "Grade" column of "overview-grade" table should not contain "90.00"
|
||||
|
||||
@javascript
|
||||
Scenario: We can add a weighting to a grade item and it is displayed properly in the user report
|
||||
|
Loading…
x
Reference in New Issue
Block a user