AutorÃa | Ultima modificación | Ver Log |
{{!This file is part of Moodle - http://moodle.org/Moodle is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Moodle. If not, see <http://www.gnu.org/licenses/>.}}{{!@template core/content/export/course_summaryRenders course summary and overview information.This template is not for use within moodle.Classes required for JS:* noneData attributes required for JS:* noneContext variables required for this template:* globalExample context (json):{"global": {"righttoleft": 0,"language": "en","sitename": "Kevin's Emporium of fine course material","siteurl": "https://kevin.example.com","pathtotop": "./","contentexportfooter": "This file is part of the content downloaded from <a href='https://example.com'>Kevin's Emporium of fine course material</a> by Jennifer Collins on Tuesday, 24th February 2021, 12:21 am.","contentexportsummary": "This file is part of the content downloaded from <a href='https://example.com/course/view.php?id=4'>Kevin's Emporium of fine course material</a> on Tuesday, 24th February 2021, 12:21 am.","coursename": "Marketing 101","courseshortname": "MKT101","courselink": "https://example.com/course/view.php?id=4","exportdate": "Tuesday, 24th February 2021, 12:21 am","maxfilesize": "40MB"},"summary": "<p>This is a summary of the course, and it may contain PLUGINFILE references.</p>","overviewfiles": [{"filepath": "./_course/overviewfiles/example.pdf","filename": "Example PDF"},{"filepath": "./_course/overviewfiles/example.jpg","filename": "Example JPG"}]}}}{{<core/content/export/external_page}}{{$pagecontent}}<div class="alert alert-info alert-block">{{{global.contentexportsummary}}}</div>{{#summary}}<h2>{{#str}}summary, core{{/str}}</h2><div>{{{summary}}}</div><hr>{{/summary}}{{#overviewfiles.0}}<h2>{{#str}}courseoverviewfiles, core{{/str}}</h2><div>{{#overviewfiles.0}}<ul>{{#overviewfiles}}<li><a href="{{filepath}}" title="{{#str}}contentexport_viewfilename, core, {{filename}}{{/str}}">{{filename}}</a></li>{{/overviewfiles}}</ul>{{/overviewfiles.0}}</div><hr>{{/overviewfiles.0}}{{/pagecontent}}{{/core/content/export/external_page}}