Skip to content
Snippets Groups Projects
Commit 8869ac29 authored by Kathrin Osswald's avatar Kathrin Osswald
Browse files

Further formal changes to the course_renderer to be constistent with Moodle core.

parent 42fa2bc2
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2019-06-04 - Further formal changes to the course_renderer to be constistent with Moodle core.
* 2019-06-04 - Adjusted function coursecat_coursebox() in course_renderer.php due to upstream changes in theme Boost.
* 2019-06-03 - Added newly introduced collection labels in the navdrawer nodes.
* 2019-06-03 - Adjusted columns2.php due to upstream changes in theme Boost.
......
......@@ -55,7 +55,6 @@ class course_renderer extends \core_course_renderer {
* @param \core_course_list_element|\stdClass $course
* @param string $additionalclasses additional classes to add to the main <div> tag (usually
* depend on the course position in list - first/last/even/odd)
*
* @return string
*/
protected function coursecat_coursebox(\coursecat_helper $chelper, $course, $additionalclasses = '') {
......@@ -114,7 +113,7 @@ class course_renderer extends \core_course_renderer {
// print enrolmenticons
if ($icons = enrol_get_course_info_icons($course)) {
$content .= html_writer::start_tag('div', array('class' => 'enrolmenticons'));
foreach ($icons as $pixicon) {
foreach ($icons as $pixicon) { // pix_icon makes Travis fail.
$content .= $this->render($pixicon);
}
$content .= html_writer::end_tag('div'); // .enrolmenticons
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment