{{! 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 format_tiles/icon_picker_modal_body Icon picker modal template. The purpose of this template is to render the icons needed for the modal window allowing the user to select one to be displayed as the icon for the tile, or the default icon for the course These are rendered as a hidden div on page load and then added to the modal when it is later launched from javascript Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * icon_picker_icons - array of all available icons for icon_picker_icon.mustache * show_photo_button - whether to render a button to link to the photo upload form. Example context (json): { "icon_picker_icons": [], "icon_picker_photos": [], "show_photo_button": 1, "documentationurl": "https://mydocumentationurl.com" } }} {{#photosallowed}}
{{#str}}search{{/str}} {{#pix}}a/search, core, {{#str}}search{{/str}}{{/pix}}
{{#icon_picker_icons}} {{> format_tiles/icon_picker_icon}} {{/icon_picker_icons}}
{{!Leave blank for now will lazy load from JS if needed}}

{{#str}}photolibrary, format_tiles{{/str}}

{{#str}}photolibrary_desc, format_tiles{{/str}}
{{#str}}none{{/str}}
{{/photosallowed}} {{^photosallowed}}
{{#str}}search{{/str}} {{#pix}}a/search, core, {{#str}}search{{/str}}{{/pix}} {{#show_photo_button}} {{/show_photo_button}}
{{#icon_picker_icons}} {{> format_tiles/icon_picker_icon}} {{/icon_picker_icons}}
{{/photosallowed}} {{#documentationurl}}
{{#pix}}help, core, {{#str}}documentation, format_tiles{{/str}}{{/pix}}{{#str}}documentation, format_tiles{{/str}}
{{/documentationurl}}