MDL-62807 output: Support .list-unstyled class
Category management lists should not have bullets. We support this class in "boost" theme but not in bootstrapbase and there are uses of it in core.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
|
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 299 B |
@@ -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);
|
||||
|
||||
@@ -118,6 +118,8 @@ a.dimmed_text:visited,
|
||||
}
|
||||
.unlist,
|
||||
.unlist li,
|
||||
.list-unstyled,
|
||||
.list-unstyled li,
|
||||
.inline-list,
|
||||
.inline-list li,
|
||||
.block .list,
|
||||
|
||||
@@ -2420,6 +2420,8 @@ a.dimmed_text:visited,
|
||||
}
|
||||
.unlist,
|
||||
.unlist li,
|
||||
.list-unstyled,
|
||||
.list-unstyled li,
|
||||
.inline-list,
|
||||
.inline-list li,
|
||||
.block .list,
|
||||
|
||||
Reference in New Issue
Block a user