mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Revert "MDL-71915 question: Update the tertiary nav"
This reverts commit 26eabeccf4
.
This commit is contained in:
parent
ae377f6940
commit
73aeabab0b
7 changed files with 13 additions and 197 deletions
|
@ -1,63 +0,0 @@
|
|||
{{!
|
||||
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 core_question/qbank_action_menu
|
||||
Add selector in the question bank tab.
|
||||
Classes required for JS:
|
||||
* none
|
||||
Data attributes required for JS:
|
||||
* data-region
|
||||
Context variables required for this template:
|
||||
* see question/classes/output/qbank_actionbar.php
|
||||
Example context (json):
|
||||
{
|
||||
"action" : "http://localhost/moodle/course/jumpto.php",
|
||||
"classes" : "urlselect",
|
||||
"formid" : "questionbankaction",
|
||||
"id" : "url_select61a85bc543dca7",
|
||||
"label" : "questionbankactionselect",
|
||||
"options" : [
|
||||
{
|
||||
"name" : "Questions",
|
||||
"selected" : true,
|
||||
"value" : "/question/edit.php?courseid=7"
|
||||
},
|
||||
{
|
||||
"name" : "Categories",
|
||||
"selected" : false,
|
||||
"value" : "/question/bank/managecategories/category.php?courseid=7"
|
||||
},
|
||||
{
|
||||
"name" : "Import",
|
||||
"selected" : false,
|
||||
"value" : "/question/bank/importquestions/import.php?courseid=7"
|
||||
},
|
||||
{
|
||||
"name" : "Export",
|
||||
"selected" : false,
|
||||
"value" : "/question/bank/exportquestions/export.php?courseid=7"
|
||||
}
|
||||
]
|
||||
}
|
||||
}}
|
||||
<div class="container-fluid mb-2">
|
||||
<div class="row">
|
||||
{{#questionbankselect}}
|
||||
{{>core/url_select}}
|
||||
{{/questionbankselect}}
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue