{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see . }} {{! @template core_h5p/h5plibraries Example context (json): { "contenttypes": [ { "title": "Accordion", "major_version": 1, "minor_version:": 0, "patch_version:": 0, "runnable": 1, "icon": "icon.svg", "enabled": true, "toggleenabledurl": "http://myserver.cat/h5p/libraries.php?id=26&action=disable" }, { "title": "Collage", "major_version": 0, "minor_version:": 3, "patch_version:": 1, "runnable": 1, "enabled": true, "toggleenabledurl": "http://myserver.cat/h5p/libraries.php?id=37&action=disable" }, { "title": "FontAwesome", "major_version": 4, "minor_version:": 5, "patch_version:": 0, "runnable": 1, "icon": "icon.svg", "enabled": false, "toggleenabledurl": "http://myserver.cat/h5p/libraries.php?id=54&action=enable" } ] } }}

{{#str}} installedh5p, h5p {{/str}}

{{#contenttypes}} {{#runnable}} {{/runnable}} {{/contenttypes}}
{{#str}}enable, core{{/str}} {{#str}}description, core{{/str}} {{#str}}version, core{{/str}}
{{#enabled}} {{#pix}}t/hide, core,{{#str}}disable{{/str}}{{/pix}} {{/enabled}} {{^enabled}} {{#pix}}t/show, core,{{#str}}enable{{/str}}{{/pix}} {{/enabled}} {{#icon}} {{/icon}} {{^icon}} {{#pix}} b/h5p_library, core {{/pix}} {{/icon}} {{{ title }}} {{{ major_version }}}.{{{ minor_version }}}.{{{ patch_version }}} {{#actionmenu}} {{>core/action_menu}} {{/actionmenu}}
{{#contenttypes}} {{^runnable}} {{/runnable}} {{/contenttypes}}
{{#str}}description, core{{/str}} {{#str}}version, core{{/str}}
{{{ title }}} {{{ major_version }}}.{{{ minor_version }}}.{{{ patch_version }}} {{#actionmenu}} {{>core/action_menu}} {{/actionmenu}}