Skip to content

Commit

Permalink
Fix links to courses in session on Resume Session page - refs BT#9884…
Browse files Browse the repository at this point in the history
… #TMI
  • Loading branch information
AngelFQC committed Jun 15, 2015
1 parent 415c428 commit ac87f10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main/session/resume_session.php
Expand Up @@ -220,18 +220,20 @@
Display::return_icon($downIcon, get_lang('MoveDown')),
$downUrl
);

$courseUrl = api_get_course_url($course->getCode(), $sessionId);

//hide_course_breadcrumb the parameter has been added to hide the name of the course, that appeared in the default $interbreadcrumb
$courseItem .= '
<tr>
<td>'.Display::url(
$course->getTitle().' ('.$course->getVisualCode().')',
api_get_path(WEB_COURSE_PATH).$course->getCode().'/?id_session='.$sessionId
$courseUrl
).'</td>
<td>'.$coach.'</td>
<td>'.$numberOfUsers.'</td>
<td>
<a href="'.api_get_path(WEB_COURSE_PATH).$course->getCode().'/?id_session='.$sessionId.'">'.
<a href="'. $courseUrl . '">'.
Display::return_icon('course_home.gif', get_lang('Course')).'</a>
'.$orderButtons.'
<a href="session_course_user_list.php?id_session='.$sessionId.'&course_code='.$course->getCode().'">'.
Expand Down

0 comments on commit ac87f10

Please sign in to comment.