MDL-79250 admin: Add title to external_content_banner template

This commit is contained in:
Jun Pataleta 2023-09-04 16:14:12 +08:00
parent 206c3a66e7
commit 3492efae57
No known key found for this signature in database
GPG key ID: F83510526D99E2C7
3 changed files with 8 additions and 3 deletions

View file

@ -34,10 +34,11 @@
{
"iframeid": "external-content",
"url": "http://example.com/link",
"title": "External content"
}
}}
<div class="alert alert-secondary alert-block fade in">
<iframe id="{{iframeid}}" class="w-100 border-0"></iframe>
<iframe id="{{iframeid}}" title="{{title}}" class="w-100 border-0"></iframe>
</div>
{{#js}}
(function() {