mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +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 }}
|
||||
{{#showskiplink}}
|
||||
<a href="#sb-{{skipid}}" class="sr-only sr-only-focusable">{{#str}}skipa, access, {{title}}{{/str}}</a>
|
||||
@ -28,12 +43,12 @@
|
||||
|
||||
{{! Block header }}
|
||||
{{#title}}
|
||||
<h3 id="instance-{{blockinstanceid}}-header" class="card-title">{{{title}}}</h3>
|
||||
<h3 id="instance-{{blockinstanceid}}-header" class="card-title header">{{{title}}}</h3>
|
||||
{{/title}}
|
||||
|
||||
<div class="card-text">
|
||||
<div class="card-text content">
|
||||
{{{content}}}
|
||||
{{{footer}}}
|
||||
<div class="footer">{{{footer}}}</div>
|
||||
{{{annotation}}}
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user