mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
rating MDL-23908 altered the way the role hints for ratings work
This commit is contained in:
parent
d57a462103
commit
bbf277335e
@ -366,7 +366,8 @@ abstract class moodleform_mod extends moodleform {
|
||||
}
|
||||
}
|
||||
|
||||
$mform->addElement('static', 'rolewarning', '', get_string('rolewarning','rating', implode(', ', $rolesthatcanrate)));
|
||||
$mform->addElement('static', 'rolewarning', '', get_string('canrate','rating', implode(', ', $rolesthatcanrate)));
|
||||
$mform->addHelpButton('rolewarning', 'rolewarning', 'rating');
|
||||
|
||||
$mform->addElement('select', 'assessed', get_string('aggregatetype', 'rating') , $rm->get_aggregate_types());
|
||||
$mform->setDefault('assessed', 0);
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
$string['aggregatetype'] = 'Aggregate type';
|
||||
$string['allowratings'] = 'Allow items to be rated?';
|
||||
$string['canrate'] = 'Can submit ratings: {$a}';
|
||||
$string['norate'] = 'Rating of items not allowed!';
|
||||
$string['noviewanyrate'] = 'You can only look at results for posts that you made';
|
||||
$string['noviewrate'] = 'You do not have the capability to view post ratings';
|
||||
@ -33,4 +34,5 @@ $string['ratepermissiondenied'] = 'You do not have permission to rate this item'
|
||||
$string['rating'] = 'Rating';
|
||||
$string['ratings'] = 'Ratings';
|
||||
$string['ratingsuse'] = 'Use ratings';
|
||||
$string['rolewarning'] = 'Ratings automatically enter the Gradebook. Activity permissions determine which users can submit ratings.<br />Can submit ratings: {$a}';
|
||||
$string['rolewarning'] = '';
|
||||
$string['rolewarning_help'] = 'Aggregated ratings appear in the gradebook. Click on Permissions under module administration to change who can submit ratings.';
|
||||
|
Loading…
x
Reference in New Issue
Block a user