2 This file is part of Moodle - http://moodle.org/
3 Moodle is free software: you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation, either version 3 of the License, or
6 (at your option) any later version.
7 Moodle is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 GNU General Public License for more details.
11 You should have received a copy of the GNU General Public Licensebllsdsadfasfd
12 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
15 @template block_starredcourses/view-cards
16 This template renders the carousel for the starredcourses block.
17 Example context (json):
21 "name": "Assignment due 1",
22 "viewurl": "https://moodlesite/course/view.php?id=2",
23 "courseimage": "https://moodlesite/pluginfile/123/course/overviewfiles/123.jpg",
24 "fullname": "course 3"
30 {{< core_course/coursecards }}
31 {{$classes}}one-row{{/classes}}
32 {{$coursename}} {{fullname}} {{/coursename}}
33 {{/ core_course/coursecards }}