mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-80742 mod_assign: Remove the 'back' button on the submissions page
This commit is contained in:
parent
3fc907e3d8
commit
2d3664dc40
@ -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
|
||||
];
|
||||
}
|
||||
|
@ -27,16 +27,12 @@
|
||||
|
||||
Example context (json):
|
||||
{
|
||||
"back": "https://moodle.org",
|
||||
"downloadall": "https://moodle.org"
|
||||
}
|
||||
|
||||
}}
|
||||
<div class="container-fluid tertiary-navigation">
|
||||
<div class="row">
|
||||
<div class="navitem">
|
||||
<a class="btn btn-secondary" href="{{back}}">{{#str}}back, mod_assign{{/str}}</a>
|
||||
</div>
|
||||
{{#downloadall}}
|
||||
<div class="navitem ml-sm-auto">
|
||||
<a class="btn btn-secondary" href="{{downloadall}}">{{#str}}downloadall, mod_assign{{/str}}</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user