{{!
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"
},
{
"title": "Collage",
"major_version": 0,
"minor_version:": 3,
"patch_version:": 1,
"runnable": 1
},
{
"title": "FontAwesome",
"major_version": 4,
"minor_version:": 5,
"patch_version:": 0,
"runnable": 1,
"icon": "icon.svg"
}
]
}
}}
{{#str}} installedh5p, h5p {{/str}}
{{#str}}description, core{{/str}} |
{{#str}}version, core{{/str}} |
|
{{#contenttypes}}
{{#runnable}}
{{#icon}}
{{/icon}}
{{^icon}}
{{#pix}} b/h5p_library, core {{/pix}}
{{/icon}}
{{{ title }}}
|
{{{ major_version }}}.{{{ minor_version }}}.{{{ patch_version }}} |
{{#actionmenu}}
{{>core/action_menu}}
{{/actionmenu}}
|
{{/runnable}}
{{/contenttypes}}
{{#str}}description, core{{/str}} |
{{#str}}version, core{{/str}} |
|
{{#contenttypes}}
{{^runnable}}
{{{ title }}}
|
{{{ major_version }}}.{{{ minor_version }}}.{{{ patch_version }}} |
{{#actionmenu}}
{{>core/action_menu}}
{{/actionmenu}}
|
{{/runnable}}
{{/contenttypes}}