@ -989,4 +989,12 @@ class Evaluation implements GradebookItem
return $targets;
}
/**
* Gets the skills related to this item from the skill_rel_item table
*/
public function getSkillsFromItem(): string
{
return Skill::getSkillRelItemsToString(ITEM_TYPE_GRADEBOOK_EVALUATION, $this->get_id());
@ -1255,9 +1255,10 @@ class GradebookTable extends SortableTable
.'</a>';
} else {
$extra = Display::label(get_lang('Evaluation'));
if ($type === 'simple') {
if ('simple' === $type) {
$extra = '';
$extra .= $item->getSkillsFromItem();
return ' '
.'<a href="gradebook_view_result.php?'.api_get_cidreq().'&selecteval='.$item->get_id().'">'