mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
Merge branch 'MDL-79158' of https://github.com/paulholden/moodle
This commit is contained in:
commit
c356d161e8
@ -111,13 +111,16 @@ class action_bar extends \core_grades\output\action_bar {
|
||||
);
|
||||
$data['searchdropdown'] = $searchdropdown->export_for_template($output);
|
||||
|
||||
// The collapsed column dialog is aligned to the edge of the screen, we need to place it such that it also aligns.
|
||||
$collapsemenudirection = right_to_left() ? 'dropdown-menu-left' : 'dropdown-menu-right';
|
||||
|
||||
$collapse = new comboboxsearch(
|
||||
true,
|
||||
get_string('collapsedcolumns', 'gradereport_grader', 0),
|
||||
null,
|
||||
'collapse-columns',
|
||||
'collapsecolumn',
|
||||
'collapsecolumndropdown p-3 flex-column',
|
||||
'collapsecolumndropdown p-3 flex-column ' . $collapsemenudirection,
|
||||
null,
|
||||
true,
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user