MDL-87456 workshop: Amend action links to switch phase.

This commit is contained in:
Luca Bösch
2026-02-20 20:52:34 +01:00
parent dfeb7c1bf7
commit 2acedbebf9
+7 -1
View File
@@ -321,7 +321,13 @@ class mod_workshop_renderer extends plugin_renderer_base {
} else {
$icon = new pix_icon('i/marker', get_string('switchphase'.$phasecode, 'mod_workshop'));
}
$actions .= $this->output->action_icon($action->url, $icon, null, null, true);
$actions .= $this->output->action_icon(
$action->url,
$icon,
null,
['class' => 'action-icon ms-0 ps-0'],
true
);
}
}
}