diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e63f7f19efa84552b5c260049e4af47f5d244de..e9f845c7c3135e40325172f3dbe121335bb9c787 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -235,6 +235,14 @@ Ajout d'un else à la condition pour que $date soit toujours instancié. [x] Solved. +#### 18 + +Notice sur renderer.php $course->sectionposition la propriété n'existe pas. + +Commentaire du code qui semble n'injecter qu'un span vide inutile avec une classe below qui n'existe pas dans le format de base Topic. + +[x] Solved. + ### Page principale du cours sans achèvement activé dans le cours Si l'achèvement d'activité n'est pas activé dans le cours. diff --git a/renderer.php b/renderer.php index 96b27f06d9eb747d1d8c0c71743c52662975c79f..f20219ad385b54f586ec16fd4f83fe7b1f102ef2 100644 --- a/renderer.php +++ b/renderer.php @@ -855,10 +855,10 @@ public function print_iena_section_pages($course) } } //At this stage nothing is yet displayed except the icon: Your progress - if ($course->sectionposition == 1 and isset($htmlsection0)) { - if ($PAGE->user_is_editing()) - echo html_writer::tag('span', $htmlsection0, ['class' => 'below']); - } + // if ($course->sectionposition == 1 and isset($htmlsection0)) { + // if ($PAGE->user_is_editing()) + // echo html_writer::tag('span', $htmlsection0, ['class' => 'below']); + // } //Add the + and - at the end of the page to see which part of the code to really keep if ($PAGE->user_is_editing() and has_capability('moodle/course:update', $context)) {