mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-48947_v3_patch' of https://github.com/Syxton/moodle
This commit is contained in:
commit
331315a4c1
2 changed files with 5 additions and 7 deletions
|
@ -216,7 +216,8 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
||||||
if ($hasnamenotsecpg || $hasnamesecpg) {
|
if ($hasnamenotsecpg || $hasnamesecpg) {
|
||||||
$classes = '';
|
$classes = '';
|
||||||
}
|
}
|
||||||
$o.= $this->output->heading($this->section_title($section, $course), 3, 'sectionname' . $classes);
|
$sectionname = html_writer::tag('span', $this->section_title($section, $course));
|
||||||
|
$o.= $this->output->heading($sectionname, 3, 'sectionname' . $classes);
|
||||||
|
|
||||||
$o.= html_writer::start_tag('div', array('class' => 'summary'));
|
$o.= html_writer::start_tag('div', array('class' => 'summary'));
|
||||||
$o.= $this->format_summary_text($section);
|
$o.= $this->format_summary_text($section);
|
||||||
|
@ -790,7 +791,8 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
||||||
if (!$thissection->visible) {
|
if (!$thissection->visible) {
|
||||||
$classes .= ' dimmed_text';
|
$classes .= ' dimmed_text';
|
||||||
}
|
}
|
||||||
$sectiontitle .= $this->output->heading(get_section_name($course, $displaysection), 3, $classes);
|
$sectionname = html_writer::tag('span', get_section_name($course, $displaysection));
|
||||||
|
$sectiontitle .= $this->output->heading($sectionname, 3, $classes);
|
||||||
|
|
||||||
$sectiontitle .= html_writer::end_tag('div');
|
$sectiontitle .= html_writer::end_tag('div');
|
||||||
echo $sectiontitle;
|
echo $sectiontitle;
|
||||||
|
|
|
@ -53,8 +53,6 @@
|
||||||
&.right {
|
&.right {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
position: relative;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
}
|
||||||
.spinner {
|
.spinner {
|
||||||
height: 16px;
|
height: 16px;
|
||||||
|
@ -152,8 +150,6 @@
|
||||||
&.right {
|
&.right {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
position: relative;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
}
|
||||||
.activity {
|
.activity {
|
||||||
.spinner {
|
.spinner {
|
||||||
|
@ -342,7 +338,7 @@
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
.course-content ul li.section.hidden {
|
.course-content ul li.section.hidden {
|
||||||
.sectionname,
|
.sectionname > span,
|
||||||
.content > div, /* All the divs but the activities which are in a UL. */
|
.content > div, /* All the divs but the activities which are in a UL. */
|
||||||
.activity .activityinstance {
|
.activity .activityinstance {
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue