From 2d3664dc40b06e85a75660f7929616c3f2865a2f Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Sun, 4 Feb 2024 22:13:12 +0800 Subject: [PATCH] MDL-80742 mod_assign: Remove the 'back' button on the submissions page --- mod/assign/classes/output/grading_actionmenu.php | 1 - mod/assign/templates/grading_actionmenu.mustache | 4 ---- 2 files changed, 5 deletions(-) diff --git a/mod/assign/classes/output/grading_actionmenu.php b/mod/assign/classes/output/grading_actionmenu.php index 9cac2d04e30..ab58ec68283 100644 --- a/mod/assign/classes/output/grading_actionmenu.php +++ b/mod/assign/classes/output/grading_actionmenu.php @@ -71,7 +71,6 @@ class grading_actionmenu implements templatable, renderable { $downloadall = (new moodle_url('/mod/assign/view.php', ['id' => $this->cmid, 'action' => 'downloadall']))->out(false); } return [ - 'back' => (new moodle_url('/mod/assign/view.php', ['id' => $this->cmid]))->out(false), 'downloadall' => $downloadall ]; } diff --git a/mod/assign/templates/grading_actionmenu.mustache b/mod/assign/templates/grading_actionmenu.mustache index 56a3ac9f541..09fa68333c2 100644 --- a/mod/assign/templates/grading_actionmenu.mustache +++ b/mod/assign/templates/grading_actionmenu.mustache @@ -27,16 +27,12 @@ Example context (json): { - "back": "https://moodle.org", "downloadall": "https://moodle.org" } }}