diff --git a/admin/tool/analytics/classes/output/form/edit_model.php b/admin/tool/analytics/classes/output/form/edit_model.php index 2c0be865102..31d0f578606 100644 --- a/admin/tool/analytics/classes/output/form/edit_model.php +++ b/admin/tool/analytics/classes/output/form/edit_model.php @@ -74,6 +74,7 @@ class edit_model extends \moodleform { ); $mform->addElement('autocomplete', 'indicators', get_string('indicators', 'tool_analytics'), $indicators, $options); $mform->setType('indicators', PARAM_ALPHANUMEXT); + $mform->addHelpButton('indicators', 'indicators', 'tool_analytics'); $timesplittings = array('' => ''); foreach ($this->_customdata['timesplittings'] as $classname => $timesplitting) { diff --git a/admin/tool/analytics/lang/en/tool_analytics.php b/admin/tool/analytics/lang/en/tool_analytics.php index dc0c5c90b67..b3a8ba42cf1 100644 --- a/admin/tool/analytics/lang/en/tool_analytics.php +++ b/admin/tool/analytics/lang/en/tool_analytics.php @@ -78,6 +78,8 @@ $string['getpredictions'] = 'Get predictions'; $string['goodmodel'] = 'This is a good model for using to obtain predictions. Enable it to start obtaining predictions.'; $string['importmodel'] = 'Import model'; $string['indicators'] = 'Indicators'; +$string['indicators_help'] = 'The indicators are what you think will lead to an accurate prediction of the target.'; +$string['indicators_link'] = 'Indicators'; $string['info'] = 'Info'; $string['ignoreversionmismatches'] = 'Ignore version mismatches'; $string['ignoreversionmismatchescheckbox'] = 'Ignore the differences between this site version and the original site version.'; @@ -111,6 +113,7 @@ $string['samestartdate'] = 'Current start date is good'; $string['sameenddate'] = 'Current end date is good'; $string['target'] = 'Target'; $string['target_help'] = 'The target is what the model will predict.'; +$string['target_link'] = 'Targets'; $string['timesplittingnotdefined'] = 'Time splitting is not defined.'; $string['timesplittingnotdefined_help'] = 'You need to select a time-splitting method before enabling the model.'; $string['trainandpredictmodel'] = 'Training model and calculating predictions'; diff --git a/lang/en/analytics.php b/lang/en/analytics.php index a25a3cd69d2..f43a0f9eb6a 100644 --- a/lang/en/analytics.php +++ b/lang/en/analytics.php @@ -122,5 +122,6 @@ $string['privacy:metadata:analytics:predictionactions:timecreated'] = 'When the $string['processingsitecontents'] = 'Processing site contents'; $string['successfullyanalysed'] = 'Successfully analysed'; $string['timesplittingmethod'] = 'Time-splitting method'; -$string['timesplittingmethod_help'] = 'The time-splitting method is what defines when the system will calculate predictions and the portion of activity logs that will be considered for those predictions. E.g. They can divide the course duration in parts and generate a prediction at the end of these parts.'; +$string['timesplittingmethod_help'] = 'The time-splitting method is what defines when the system will calculate predictions and the portion of activity logs that will be considered for those predictions. E.g. they can divide the course duration in parts and generate a prediction at the end of these parts.'; +$string['timesplittingmethod_link'] = 'Time_splitting_methods'; $string['viewprediction'] = 'View prediction details';