Merge branch 'MDL-62807-master' of git://github.com/damyon/moodle

This commit is contained in:
Jun Pataleta 2018-07-25 13:48:15 +08:00
commit a77beeb245
7 changed files with 8 additions and 6 deletions

View File

@ -156,4 +156,4 @@ echo $OUTPUT->footer();
// Thats all folks.
// Don't ever even consider putting anything after this. It just wouldn't make sense.
// But you already knew that, you smart developer you.
exit;
exit;

View File

@ -247,8 +247,7 @@ class core_course_management_renderer extends plugin_renderer_base {
'i/empty',
'',
'moodle',
array('class' => 'tree-icon', 'title' => get_string('showcategory', 'moodle', $text))
);
array('class' => 'tree-icon'));
$icon = html_writer::span($icon, 'float-left');
}
$actions = \core_course\management\helper::get_category_listitem_actions($category);
@ -288,7 +287,7 @@ class core_course_management_renderer extends plugin_renderer_base {
$html .= html_writer::end_div();
if ($isexpanded) {
$html .= html_writer::start_tag('ul',
array('class' => 'ml-1', 'role' => 'group', 'id' => 'subcategoryof'.$category->id));
array('class' => 'ml', 'role' => 'group', 'id' => 'subcategoryof'.$category->id));
$catatlevel = \core_course\management\helper::get_expanded_categories($category->path);
$catatlevel[] = array_shift($selectedcategories);
$catatlevel = array_unique($catatlevel);

View File

Before

Width:  |  Height:  |  Size: 75 B

After

Width:  |  Height:  |  Size: 75 B

View File

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 299 B

View File

@ -317,8 +317,7 @@ class renderer extends \core_course_management_renderer {
'i/empty',
'',
'moodle',
array('class' => 'tree-icon', 'title' => get_string('showcategory', 'moodle', $text))
);
array('class' => 'tree-icon'));
$icon = html_writer::span($icon, 'float-left');
}
$actions = \core_course\management\helper::get_category_listitem_actions($category);

View File

@ -118,6 +118,8 @@ a.dimmed_text:visited,
}
.unlist,
.unlist li,
.list-unstyled,
.list-unstyled li,
.inline-list,
.inline-list li,
.block .list,

View File

@ -2420,6 +2420,8 @@ a.dimmed_text:visited,
}
.unlist,
.unlist li,
.list-unstyled,
.list-unstyled li,
.inline-list,
.inline-list li,
.block .list,