From 83cba7b9b01ad2921dc3155b78e74f9ffe2fde47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Luca=20B=C3=B6sch?= Date: Sat, 15 Feb 2020 17:46:30 +0100 Subject: [PATCH] MDL-65448 gradebook: Restyle moving. --- grade/edit/tree/lib.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/grade/edit/tree/lib.php b/grade/edit/tree/lib.php index 42161297754..f34b69a1710 100644 --- a/grade/edit/tree/lib.php +++ b/grade/edit/tree/lib.php @@ -233,7 +233,6 @@ class grade_edit_tree { if ($this->moving && $this->moving != $child_eid) { $strmove = get_string('move'); - $strmovehere = get_string('movehere'); $actions = $moveaction = ''; // no action icons when moving $aurl = new moodle_url('index.php', array('id' => $COURSE->id, 'action' => 'move', 'eid' => $this->moving, 'moveafter' => $child_eid, 'sesskey' => sesskey())); @@ -245,8 +244,7 @@ class grade_edit_tree { $cell->colspan = 12; $cell->attributes['class'] = 'movehere level' . ($level + 1) . ' level' . ($level % 2 ? 'even' : 'odd'); - $icon = new pix_icon('movehere', $strmovehere, null, array('class'=>'movetarget')); - $cell->text = $OUTPUT->action_icon($aurl, $icon); + $cell->text = html_writer::link($aurl, '', array('title' => get_string('movehere'), 'class' => 'movehere')); $moveto = new html_table_row(array($cell)); } -- 2.43.0