MDL-71915 question: Update the tertiary nav

Update the tertiary navigation activity for
question.
This commit is contained in:
Sujith Haridasan
2021-12-06 10:26:40 +05:30
parent 1149f255fe
commit 26eabeccf4
7 changed files with 168 additions and 8 deletions
+5 -2
View File
@@ -42,11 +42,14 @@ $context = $contexts->lowest();
$streditingquestions = get_string('editquestions', 'question');
$PAGE->set_title($streditingquestions);
$PAGE->set_heading($COURSE->fullname);
echo $OUTPUT->header();
// Print horizontal nav if needed.
$renderer = $PAGE->get_renderer('core_question', 'bank');
echo $renderer->extra_horizontal_navigation();
echo $OUTPUT->header();
// Render the selection action.
$qbankaction = new \core_question\output\qbank_actionbar($url);
echo $renderer->qbank_action_menu($qbankaction);
// Print the question area.
$questionbank->display($pagevars, 'questions');