MDL-79483 qbank_columnsortorder: set pix_icon for each column action.
This commit is contained in:
@@ -41,7 +41,7 @@ class column_action_move extends column_action_base {
|
||||
public function get_action_menu_link(column_base $column): ?\action_menu_link {
|
||||
return new \action_menu_link_secondary(
|
||||
new \moodle_url('/question/edit.php'),
|
||||
null,
|
||||
new \pix_icon('i/dragdrop', ''),
|
||||
$this->move,
|
||||
[
|
||||
'title' => get_string('movecolumn', 'qbank_columnsortorder', $column->get_title()),
|
||||
|
||||
@@ -65,7 +65,7 @@ class column_action_remove extends column_action_base {
|
||||
}
|
||||
return new \action_menu_link_secondary(
|
||||
$actionurl,
|
||||
null,
|
||||
new \pix_icon('t/delete', ''),
|
||||
$this->remove,
|
||||
[
|
||||
'class' => 'action-link',
|
||||
|
||||
@@ -41,7 +41,7 @@ class column_action_resize extends column_action_base {
|
||||
public function get_action_menu_link(column_base $column): ?\action_menu_link {
|
||||
return new \action_menu_link_secondary(
|
||||
new \moodle_url('/question/edit.php'),
|
||||
null,
|
||||
new \pix_icon('i/twoway', ''),
|
||||
$this->resize,
|
||||
[
|
||||
'title' => get_string('resizecolumn', 'qbank_columnsortorder', $column->get_title()),
|
||||
|
||||
Reference in New Issue
Block a user