{{! 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_courseformat/local/content/section/content The internal content of a section. Example context (json): { "num": 3, "id": 35, "controlmenu": "[tools menu]", "header": { "name": "Section title", "title": "Section title", "url": "#", "ishidden": true }, "cmlist": { "cms": [ { "cmitem": { "cmformat": { "cmname": "Forum example", "hasname": "true" }, "id": 3, "module": "forum", "anchor": "activity-3", "extraclasses": "newmessages" } }, { "cmitem": { "cmformat": { "cmname": "Assign example", "hasname": "true" }, "id": 4, "anchor": "activity-4", "module": "assign", "extraclasses": "" } } ], "hascms": true }, "ishidden": false, "iscurrent": true, "currentlink": "This topic", "availability": { "info": "Hidden from students", "hasavailability": true }, "summary": { "summarytext": "Summary text!" }, "controlmenu": { "menu": "Edit", "hasmenu": true }, "cmcontrols": "[Add an activity or resource]", "iscoursedisplaymultipage": true, "sectionreturnid": 0, "contentcollapsed": false, "insertafter": true, "numsections": 42, "sitehome": false, "highlightedlabel" : "Highlighted" } }} {{#singleheader}} {{$ format_tiles/local/content/section/header }} {{> format_tiles/local/content/section/header }} {{/ format_tiles/local/content/section/header }} {{/singleheader}} {{#header}} {{$ format_tiles/local/content/section/header }} {{> format_tiles/local/content/section/header }} {{/ format_tiles/local/content/section/header }} {{/header}} {{#restrictionlock}}
{{#pix}}t/unlock, core{{/pix}}
{{/restrictionlock}}
{{$ core_courseformat/local/content/section/badges }} {{> core_courseformat/local/content/section/badges }} {{/ core_courseformat/local/content/section/badges }}
{{#collapsemenu}}
{{#str}}collapseall{{/str}} {{#str}}expandall{{/str}}
{{/collapsemenu}} {{#controlmenu}} {{$ core_courseformat/local/content/section/controlmenu }} {{> core_courseformat/local/content/section/controlmenu }} {{/ core_courseformat/local/content/section/controlmenu }} {{/controlmenu}}
{{#summary}} {{$ core_courseformat/local/content/section/summary }} {{> core_courseformat/local/content/section/summary }} {{/ core_courseformat/local/content/section/summary }} {{/summary}} {{#availability}} {{$ core_courseformat/local/content/section/availability }} {{> core_courseformat/local/content/section/availability }} {{/ core_courseformat/local/content/section/availability }} {{/availability}}
{{#cmsummary}} {{$ core_courseformat/local/content/section/cmsummary }} {{> core_courseformat/local/content/section/cmsummary }} {{/ core_courseformat/local/content/section/cmsummary }} {{/cmsummary}} {{#cmlist}} {{$ core_courseformat/local/content/section/cmlist }} {{> core_courseformat/local/content/section/cmlist }} {{/ core_courseformat/local/content/section/cmlist }} {{/cmlist}} {{{cmcontrols}}} {{#insertafter}} {{#numsections}} {{$ core_courseformat/local/content/addsection}} {{> core_courseformat/local/content/addsection}} {{/ core_courseformat/local/content/addsection}} {{/numsections}} {{/insertafter}}