Commit 27098206 authored by Myriam Delaruelle's avatar Myriam Delaruelle

Liens reports/messages dans le tableau de suivi

parent d5a34cab
......@@ -581,7 +581,7 @@ th.th-rotate > div > span {
.state-1 span.icon-progress::after{
content: "\f1db";
font-family: FontAwesome; width: 100%; display: inline-block;
font-family: FontAwesome; width: 100%; display: inline-block;text-align: center;
color: white;
}
......
......@@ -183,7 +183,7 @@ $progress = $completion->get_progress_all(
//Formate l'achèvement d'activités pour le tableau de suivi. Pour chaque étudiant, on aura dans le bon ordre la liste des modules et le completionstate
function format_progress($progress, $modules){
global $CFG, $COURSE;
$students=array();
foreach ($progress as $prog_info) {
$progress_student=new StdClass();
......@@ -191,6 +191,8 @@ function format_progress($progress, $modules){
$progress_student->id=$prog_info->id;
$progress_student->email=$prog_info->email;
$progress_student->progress=array();
$progress_student->report_link=$CFG->wwwroot . "/report/outline/user.php?id=" . $progress_student->id . "&course=" . $COURSE->id . "&mode=outline";
$progress_student->message_link=$CFG->wwwroot . "/message/index.php?id=" . $progress_student->id;
foreach($modules as $key=>$module){
$module_progress=new StdClass();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment