mirror of
https://github.com/moodle/moodle.git
synced 2025-02-01 05:18:06 +01:00
MDL-16612 "Response report : Long group names need shortening"
This commit is contained in:
parent
04299b1f19
commit
8cc901371a
@ -14,7 +14,11 @@ class mod_quiz_report_responses_settings extends moodleform {
|
||||
$a = new object();
|
||||
$a->coursestudent = $COURSE->students;
|
||||
$a->groupname = groups_get_group_name($this->_customdata['currentgroup']);
|
||||
$studentsstring = get_string('studentingroup', 'quiz_overview', $a);
|
||||
if (20 < strlen($a->groupname)){
|
||||
$studentsstring = get_string('studentingrouplong', 'quiz_overview', $a);
|
||||
} else {
|
||||
$studentsstring = get_string('studentingroup', 'quiz_overview', $a);
|
||||
}
|
||||
}
|
||||
$options = array();
|
||||
if (!$this->_customdata['currentgroup']){
|
||||
|
Loading…
x
Reference in New Issue
Block a user