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

This commit is contained in:
Andrew Nicols 2016-11-07 10:22:25 +08:00
commit 3e24a75ec3

View File

@ -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>