MDL-73437 workshop: Use templates for actionbar
* Convert the actionbar to use renderables/templates * Introduce spacing below tertiary navigation * Add headings on allocations after tertiary navigation
This commit is contained in:
@@ -63,7 +63,7 @@ $actionbar = new \mod_workshop\output\actionbar($url, $workshop);
|
||||
|
||||
$output = $PAGE->get_renderer('mod_workshop');
|
||||
echo $output->header();
|
||||
echo $actionbar->get_allocation_menu();
|
||||
echo $output->render_allocation_menu($actionbar);
|
||||
|
||||
if (is_null($initresult->get_status()) or $initresult->get_status() == workshop_allocation_result::STATUS_VOID) {
|
||||
echo $output->container_start('allocator-ui');
|
||||
|
||||
Reference in New Issue
Block a user