Merge branch 'MDL-74631-invalid-tag' of https://github.com/leonstr/moodle

This commit is contained in:
Jun Pataleta 2022-06-02 12:20:16 +08:00
commit e0eef1245d

View File

@ -39,6 +39,23 @@
* description
* instancecount
Example context (json):
{
"id": 1,
"name": "Test Tool",
"urls": {
"edit": "https://moodle.example.com/mod/lti/registersettings.php",
"icon": "https://moodle.example.com/theme/image.php/boost/lti/-1/icon"
},
"state": {
"text": "Accepted",
"configured": false,
"pending": false,
"rejected": false,
"accepted": true,
"unknown": false
}
}
}}
<div class="tool-card" data-proxy-id="{{id}}">
<div class="overlay-container">
@ -69,7 +86,7 @@
<a class="delete" href="#" title="{{#str}} delete {{/str}}">{{#pix}} t/delete, core, {{#str}} delete {{/str}}{{/pix}}</a>
</div>
</div>
<img class="tool-card-icon" src="{{{urls.icon}}}" alt="{{name}}"></img>
<img class="tool-card-icon" src="{{{urls.icon}}}" alt="{{name}}">
<div class="contenteditable-container">
<h4 class="name">{{name}}</h4>
<div class="overlay-container">{{> mod_lti/loader }}</div>