moodle/mod/assign/templates/grading_actionmenu.mustache

47 lines
1.5 KiB
Plaintext

{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template mod_assign/grading_actionmenu
Actions panel for the assignment grading UI.
Classes required for JS:
* none
Context variables required for this template:
* see mod/lesson/classes/output/grading_actionmenu.php
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>
</div>
{{/downloadall}}
</div>
</div>