Merge branch 'MDL-68674-403' of https://github.com/lucaboesch/moodle into MOODLE_403_STABLE
This commit is contained in:
@@ -4177,9 +4177,10 @@ EOD;
|
||||
'data-droptarget' => '1'
|
||||
);
|
||||
if ($this->page->blocks->region_has_content($displayregion, $this)) {
|
||||
$content = $this->blocks_for_region($displayregion, $fakeblocksonly);
|
||||
$content = html_writer::tag('h2', get_string('blocks'), ['class' => 'sr-only']) .
|
||||
$this->blocks_for_region($displayregion, $fakeblocksonly);
|
||||
} else {
|
||||
$content = '';
|
||||
$content = html_writer::tag('h2', get_string('blocks'), ['class' => 'sr-only']);
|
||||
}
|
||||
return html_writer::tag($tag, $content, $attributes);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
{{! Block header }}
|
||||
{{#title}}
|
||||
<h5 id="instance-{{blockinstanceid}}-header" class="card-title d-inline">{{{title}}}</h5>
|
||||
<h3 id="instance-{{blockinstanceid}}-header" class="h5 card-title d-inline">{{{title}}}</h3>
|
||||
{{/title}}
|
||||
|
||||
{{#hascontrols}}
|
||||
|
||||
Reference in New Issue
Block a user