{{!
    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 theme_almondb/frontpage/block07_4

    Moodle template for the frontpage block07 design 4.
}}
<div class="block07design4 container">
    <div class="row"> 
        {{#block07}}
        <div class="col-md-4 col-lg-3 col-sm-12 mb-4">
            <div class="card h-100" >
                <div class="single-course" style = "background-image: url({{imgurl}});">
                {{#block07priceshow}}
                    <div class="enrol">
                        {{cost}} {{currency}}
                    </div>
                {{/block07priceshow}}
                </div>
                <div class="card-body">
                    <small>
                        <a href="{{categorylink}}" class="text-decoration-none"><i class="fa fa-chevron-circle-right"> </i> {{categoryName}}</a>
                    </small>
                    <h6 class="card-title post-heading"><a href="{{courselink}}" class="text-decoration-none">
                        {{#block07shortname}}{{shortname}}{{/block07shortname}}
                        {{#block07fullname}}{{fullname}}{{/block07fullname}}</a>
                    </h6>
                </div>
                <div class="card-footer bg-white">
                    <small class="hytext">Updated {{update}}</small>
                </div>
            </div>
        </div>
        {{/block07}} 
    </div>
</div>  
