mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-66091 report_insights: Usability improvements
- More feedback provided for the user once they click on useful/notuseful from the email. - Replace the indicator calculations table headers for the table caption and replace the text by just "Indicators" - Replace "System" for the site name for insights generated at system level - Replace "$modelname prediction" for "$modelname" in report/insights/prediction.php heading MDL-66091
This commit is contained in:
parent
1c3efe48f8
commit
21202090f7
6 changed files with 34 additions and 21 deletions
|
@ -195,7 +195,8 @@ class insights_generator {
|
|||
$actionurl = $action->get_url();
|
||||
if (!$actionurl->get_param('forwardurl')) {
|
||||
|
||||
$actiondoneurl = new \moodle_url('/report/insights/done.php');
|
||||
$params = ['actionvisiblename' => $action->get_text(), 'target' => '_blank'];
|
||||
$actiondoneurl = new \moodle_url('/report/insights/done.php', $params);
|
||||
// Set the forward url to the 'done' script.
|
||||
$actionurl->param('forwardurl', $actiondoneurl->out(false));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue