diff --git a/styles.css b/styles.css index e1080cd51d5d7001bc0fc65871065f642300b7a6..6d6c58687250aba4d653bea3f7be3a61f6483733 100644 --- a/styles.css +++ b/styles.css @@ -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; } diff --git a/suivi_unit.php b/suivi_unit.php index 5005e0c1c3942a05ea823cb13d44bfcb8197c83c..54ff7fd8fd619aeae2d6390ccff73ffeb6bdc25e 100644 --- a/suivi_unit.php +++ b/suivi_unit.php @@ -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();