diff --git a/mod/assign/classes/output/grading_app.php b/mod/assign/classes/output/grading_app.php index 0e7e49d3e76..128a869cdee 100644 --- a/mod/assign/classes/output/grading_app.php +++ b/mod/assign/classes/output/grading_app.php @@ -170,7 +170,8 @@ class grading_app implements templatable, renderable { // List of identity fields to display (the user info will not contain any fields the user cannot view anyway). $export->showuseridentity = $CFG->showuseridentity; $export->currentuserid = $USER->id; - + $helpicon = new \help_icon('sendstudentnotifications', 'assign'); + $export->helpicon = $helpicon->export_for_template($output); return $export; } diff --git a/mod/assign/lang/en/assign.php b/mod/assign/lang/en/assign.php index 6ecb1e2f110..9d24d859ad5 100644 --- a/mod/assign/lang/en/assign.php +++ b/mod/assign/lang/en/assign.php @@ -459,7 +459,7 @@ $string['search:activity'] = 'Assignment - activity information'; $string['sendstudentnotificationsdefault'] = 'Default setting for "Notify students"'; $string['sendstudentnotificationsdefault_help'] = 'Set the default value for the "Notify students" checkbox on the grading form.'; $string['sendstudentnotifications'] = 'Notify students'; -$string['sendstudentnotifications_help'] = 'If enabled, students receive a message about the updated grade or feedback.'; +$string['sendstudentnotifications_help'] = 'If enabled, students receive a message about the updated grade or feedback. If marking workflow is enabled in this assignment, notifications will not be sent until the grade is "Released".'; $string['sendnotifications'] = 'Notify graders about submissions'; $string['sendnotifications_help'] = 'If enabled, graders (usually teachers) receive a message whenever a student submits an assignment, early, on time and late. Message methods are configurable.'; $string['selectlink'] = 'Select...'; diff --git a/mod/assign/templates/grading_actions.mustache b/mod/assign/templates/grading_actions.mustache index 139b8bc2898..09dd88e6360 100644 --- a/mod/assign/templates/grading_actions.mustache +++ b/mod/assign/templates/grading_actions.mustache @@ -35,6 +35,9 @@ + {{#helpicon}} + {{>core/help_icon}} + {{/helpicon}} diff --git a/theme/boost/templates/mod_assign/grading_actions.mustache b/theme/boost/templates/mod_assign/grading_actions.mustache index 5d0818ec84a..50b37e37feb 100644 --- a/theme/boost/templates/mod_assign/grading_actions.mustache +++ b/theme/boost/templates/mod_assign/grading_actions.mustache @@ -44,6 +44,9 @@ + {{#helpicon}} + {{>core/help_icon}} + {{/helpicon}}