mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-56241-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
3e24a75ec3
@ -1,3 +1,18 @@
|
|||||||
|
{{!
|
||||||
|
@template theme_boost/block
|
||||||
|
|
||||||
|
Example context (json):
|
||||||
|
{
|
||||||
|
"id": "block0",
|
||||||
|
"showskiplink": true,
|
||||||
|
"type": "html",
|
||||||
|
"ariarole": "complementary",
|
||||||
|
"title": "Test block",
|
||||||
|
"blockinstanceid": 1,
|
||||||
|
"content": "<p>Hello block world!</p>"
|
||||||
|
}
|
||||||
|
|
||||||
|
}}
|
||||||
{{! Block Skip Link }}
|
{{! Block Skip Link }}
|
||||||
{{#showskiplink}}
|
{{#showskiplink}}
|
||||||
<a href="#sb-{{skipid}}" class="sr-only sr-only-focusable">{{#str}}skipa, access, {{title}}{{/str}}</a>
|
<a href="#sb-{{skipid}}" class="sr-only sr-only-focusable">{{#str}}skipa, access, {{title}}{{/str}}</a>
|
||||||
@ -28,12 +43,12 @@
|
|||||||
|
|
||||||
{{! Block header }}
|
{{! Block header }}
|
||||||
{{#title}}
|
{{#title}}
|
||||||
<h3 id="instance-{{blockinstanceid}}-header" class="card-title">{{{title}}}</h3>
|
<h3 id="instance-{{blockinstanceid}}-header" class="card-title header">{{{title}}}</h3>
|
||||||
{{/title}}
|
{{/title}}
|
||||||
|
|
||||||
<div class="card-text">
|
<div class="card-text content">
|
||||||
{{{content}}}
|
{{{content}}}
|
||||||
{{{footer}}}
|
<div class="footer">{{{footer}}}</div>
|
||||||
{{{annotation}}}
|
{{{annotation}}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user