{{!
    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 <http://www.gnu.org/licenses/>.
}}
{{!
    @template block_recentlyaccessedcourses/recentlyaccessedcourses-view

    This template renders the courses view for the recentlyaccessedcourses block.

    Example context (json):
    {
        "nocoursesimgurl": "https://moodlesite/theme/image.php/boost/block_recentlyaccessedcourses/1535727318/courses"
    }
}}
<div id="recentlyaccessedcourses-view-{{uniqid}}"
     data-region="recentlyaccessedcourses-view"
     data-nocoursesimgurl="{{nocoursesimgurl}}">
    <div data-region="recentlyaccessedcourses-view-content">
        <div data-region="recentlyaccessedcourses-loading-placeholder">
            <div class="card-deck dashboard-card-deck one-row" style="height: 11.1rem">
                {{> block_recentlyaccessedcourses/placeholder-course }}
                {{> block_recentlyaccessedcourses/placeholder-course }}
                {{> block_recentlyaccessedcourses/placeholder-course }}
                {{> block_recentlyaccessedcourses/placeholder-course }}
            </div>
        </div>
    </div>
</div>