Skip to content

Commit

Permalink
Add link to course in myStudents.php tracking page
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier committed Oct 26, 2015
1 parent 6af332a commit 3769be6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/mySpace/myStudents.php
Expand Up @@ -631,12 +631,12 @@ function show_image(image,width,height) {
if (empty($sessionId)) {
$title = Display::return_icon('course.png', get_lang('Courses'), array(), ICON_SIZE_SMALL).' '.get_lang('Courses');
} else {
//$title = Display::return_icon('session.png', get_lang('Session'), array(), ICON_SIZE_SMALL).' '.$session_name.($date_session?' ('.$date_session.')':'');
$title = Display::return_icon('session.png', get_lang('Session'), array(), ICON_SIZE_SMALL).' '.$session_name.($date_session?' ('.$date_session.')':'');
}

// Courses
echo '<h3>'.$title.'</h3>';
echo '<table class="data_table">';
echo '<table class="data_table courses-tracking">';
echo '<tr>
<th>'.get_lang('Course').'</th>
<th>'.get_lang('Time').'</th>
Expand Down Expand Up @@ -703,7 +703,7 @@ function show_image(image,width,height) {
);

echo '<tr>
<td >'.$course_info['title'].'</td>
<td ><a href="' . api_get_path(WEB_COURSE_PATH) . $course_info['directory'] .'/?id_session=' . $sessionId . '">'.$course_info['title'].'</a></td>
<td >'.$time_spent_on_course .'</td>
<td >'.$progress.'</td>
<td >'.$score.'</td>
Expand Down

0 comments on commit 3769be6

Please sign in to comment.