mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-47064 Grades: Peer review cleanups
Changes include: * Search for existing items to reduce DB queries in grade_category::aggregate_grades * Comments improvements * Move brackets to be part of lang string * Convert aggregationhints to be a class variable instead of passing it around Part of: MDL-46576
This commit is contained in:
parent
6070e53313
commit
ee07a54be0
4 changed files with 67 additions and 53 deletions
|
@ -64,10 +64,10 @@ $string['aggregation_help'] = 'The aggregation determines how grades in a catego
|
|||
* Highest grade
|
||||
* Mode of grades - The grade that occurs the most frequently
|
||||
* Natural - The sum of all grade values scaled by weight';
|
||||
$string['aggregationhintnovalue'] = 'Empty';
|
||||
$string['aggregationhintdropped'] = 'Dropped';
|
||||
$string['aggregationhintexcluded'] = 'Excluded';
|
||||
$string['aggregationhintextra'] = 'Extra credit';
|
||||
$string['aggregationhintnovalue'] = '( Empty )';
|
||||
$string['aggregationhintdropped'] = '( Dropped )';
|
||||
$string['aggregationhintexcluded'] = '( Excluded )';
|
||||
$string['aggregationhintextra'] = '( Extra credit )';
|
||||
$string['aggregation_link'] = 'grade/aggregation';
|
||||
$string['aggregationcoef'] = 'Aggregation coefficient';
|
||||
$string['aggregationcoefextra'] = 'Extra credit'; // for the header of the table at Edit categories and items page
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue