From 8a6e4904bfbaac1c7ad9d1b953a462c06ce7b072 Mon Sep 17 00:00:00 2001 From: Leon Stringer Date: Tue, 3 May 2022 17:30:36 +0100 Subject: [PATCH] MDL-74631 mod_lti: Remove Remove illegal HTML tag. Added example context to pass CI checks. --- mod/lti/templates/tool_proxy_card.mustache | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/mod/lti/templates/tool_proxy_card.mustache b/mod/lti/templates/tool_proxy_card.mustache index 45daf6e596655..ad52a6d13a66a 100644 --- a/mod/lti/templates/tool_proxy_card.mustache +++ b/mod/lti/templates/tool_proxy_card.mustache @@ -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 + } + } }}
- {{name}} + {{name}}

{{name}}

{{> mod_lti/loader }}