2 This file is part of Moodle - http://moodle.org/
3 Moodle is free software: you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation, either version 3 of the License, or
6 (at your option) any later version.
7 Moodle is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 GNU General Public License for more details.
11 You should have received a copy of the GNU General Public License
12 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
15 @template core_grades/manage_outcomes_action_bar
17 Actions bar for the manage outcomes page.
19 Context variables required for this template:
20 * backbutton - The data object containing the required properties to render the 'back' button.
21 * addoutcomebutton - The data object containing the required properties to render the 'add a new outcome' button.
22 * importoutcomesbutton - The data object containing the required properties to render the 'import outcomes' button.
23 * exportoutcomesbutton - The data object containing the required properties to render the 'export outcomes' button.
25 Example context (json):
28 "id": "single_button12345",
30 "classes": "singlebutton",
39 "id": "single_button13245",
41 "classes": "singlebutton",
46 "label" : "Add a new outcome",
49 "importoutcomesbutton": {
50 "id": "single_button14325",
52 "classes": "singlebutton",
57 "label" : "Import outcomes",
60 "exportoutcomesbutton": {
61 "id": "single_button15245",
63 "classes": "singlebutton",
68 "label" : "Export all outcomes",
73 <div class="container-fluid tertiary-navigation full-width-bottom-border">
77 {{>core/single_button}}
79 <div class="navitem-divider"></div>
83 {{>core/single_button}}
86 <div class="ml-auto d-flex">
87 {{#importoutcomesbutton}}
89 {{>core/single_button}}
91 {{/importoutcomesbutton}}
92 {{#exportoutcomesbutton}}
94 {{>core/single_button}}
96 {{/exportoutcomesbutton}}