mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-65448 gradebook: Restyle moving.
This commit is contained in:
parent
149fdcf075
commit
411432c434
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user