Add link see BT#6760

1.10.x
Julio Montoya 9 years ago
parent 77d3c40f17
commit 7b79f150a2
  1. 2
      main/work/student_work.php
  2. 20
      main/work/work.lib.php

@ -191,7 +191,7 @@ foreach ($workPerUser as $work) {
$column = 0;
}
}
echo Display::page_subheader($userInfo['complete_name']);
echo $table->toHtml();
Display :: display_footer();

@ -4359,8 +4359,19 @@ function generateMoveForm($item_id, $path, $courseInfo, $groupId, $sessionId)
function showStudentList($workId)
{
$columnModel = array(
array('name'=>'student', 'index'=>'student', 'width'=>'350px', 'align'=>'left', 'sortable' => 'false'),
array('name'=>'works', 'index'=>'works', 'align'=>'center', 'sortable' => 'false')
array(
'name' => 'student',
'index' => 'student',
'width' => '350px',
'align' => 'left',
'sortable' => 'false',
),
array(
'name' => 'works',
'index' => 'works',
'align' => 'center',
'sortable' => 'false',
),
);
$token = null;
@ -4533,7 +4544,10 @@ function getWorkUserListData(
);
}
$works = $userWorks." / ".count($workParents);
$results[] = array('student' => $url, 'works' => $works);
$results[] = array(
'student' => $url,
'works' => Display::url($works, $link),
);
}
}
return $results;

Loading…
Cancel
Save