mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
e75eb8481d
Co-authored-by: Sujith Haridasan <sujith@moodle.com>
45 lines
1.4 KiB
Plaintext
45 lines
1.4 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/submission_actionmenu
|
|
|
|
Actions for grading submissions in the assignment.
|
|
|
|
Classes required for JS:
|
|
* none
|
|
|
|
Context variables required for this template:
|
|
* see mod/assign/classes/output/actionmenu.php
|
|
|
|
Example context (json):
|
|
{
|
|
"submissionlink": "https://moodle.org",
|
|
"gradelink": "https://moodle.org"
|
|
}
|
|
|
|
}}
|
|
<div class="container-fluid mb-1">
|
|
<div class="submissionlinks row">
|
|
<div class="col-xs-6 mr-3">
|
|
<a class="btn btn-secondary mr-1" href="{{submissionlink}}">{{#str}}viewgrading, mod_assign{{/str}}</a>
|
|
</div>
|
|
<div class="col-xs-6">
|
|
<a class="btn btn-primary" href="{{gradelink}}">{{#str}}gradeverb, core{{/str}}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|