2 This file is part of Moodle - http://moodle.org/
4 Moodle is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 Moodle is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 @template core_grades/category_settings
20 This template renders action menu for a given cell.
21 Example context (json):
23 "aggregation": "Natural",
24 "aggregateonlygraded": 1,
25 "aggregateoutcomes": 0,
28 "calculatedgrade": "calculated grade"
31 <div class="card-deck" role="list">
33 <span class="badge rounded-pill bg-light text-dark" role="listitem">
34 <strong>{{calculatedgrade}}</strong>
38 <span class="badge rounded-pill bg-light text-dark" role="listitem">
39 <strong>{{aggregation}}</strong>
42 {{#aggregateonlygraded}}
43 <span class="badge rounded-pill bg-light text-dark" role="listitem">
44 <strong>{{#str}}aggregateonlygraded, grades{{/str}}</strong>
46 {{/aggregateonlygraded}}
47 {{#aggregateoutcomes}}
48 <span class="badge rounded-pill bg-light text-dark" role="listitem">
49 <strong>{{#str}}aggregateoutcomes, grades{{/str}}</strong>
51 {{/aggregateoutcomes}}
53 <span class="badge rounded-pill bg-light text-dark" role="listitem">
54 <strong>{{#str}}droplowestvalues, grades, {{droplow}}{{/str}}</strong>
58 <span class="badge rounded-pill bg-light text-dark" role="listitem">
59 <strong>{{#str}}keephigh, grades{{/str}}</strong>