weekly release 3.7dev
[moodle.git] / blocks / starredcourses / templates / no-courses.mustache
CommitLineData
0e033f6e 1{{!
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 License
12 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
13}}
14{{!
15 @template block_starredcourses/no-courses
16 This template renders the no courses message.
17 Example context (json):
18 {
19 "nocoursesimg": "https://moodlesite/theme/image.php/boost/block_recentcourses/1535727318/courses"
20 }
21}}
22<div class="text-xs-center text-center m-t-3" data-region="empty-message">
356bfb69 23 <img class="empty-placeholder-image-lg m-t-1"
0e033f6e 24 src="{{nocoursesimg}}"
25 alt="{{#str}} nocourses, block_starredcourses {{/str}}"
26 role="presentation">
27 <p class="text-muted mt-3">{{#str}} nocourses, block_starredcourses {{/str}}</p>
28</div>