Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-theme_boost_campus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-theme_boost_campus
Commits
8869ac29
Commit
8869ac29
authored
6 years ago
by
Kathrin Osswald
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.md
+1
-0
1 addition, 0 deletions
CHANGES.md
classes/output/core/course_renderer.php
+9
-10
9 additions, 10 deletions
classes/output/core/course_renderer.php
with
10 additions
and
10 deletions
CHANGES.md
+
1
−
0
View file @
8869ac29
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
classes/output/core/course_renderer.php
+
9
−
10
View file @
8869ac29
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment