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_question/qbank_action_menu
20 Question bank tertiary navigtion.
22 Classes required for JS:
25 Context variables required for this template:
26 * see question/classes/output/qbank_actionbar.php
28 Example context (json):
30 "questionbankselect": {
31 "action": "http://localhost/moodle/course/jumpto.php",
32 "classes": "urlselect",
33 "formid": "questionbankaction",
34 "id": "url_select61a85bc543dca7",
35 "label": "Question bank tertiary navigation",
39 "value": "/question/edit.php?courseid=7"
44 "value": "/question/bank/managecategories/category.php?courseid=7"
49 "value": "/question/bank/importquestions/import.php?courseid=7"
54 "value": "/question/bank/exportquestions/export.php?courseid=7"
58 "addcategory": "http://localhost/moodle/question/bank/managecategories/addcategory.php?cmid=71"
61 <div class="container-fluid tertiary-navigation">
63 {{#questionbankselect}}
67 {{/questionbankselect}}
70 <a class="btn btn-primary ml-2" href="{{ addcategory }}">{{#str}}addcategory, question {{/str}}</a>