{{!
    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_boost_union/full_header-chunk-progressbottombar

    This template renders a progress bar to be used below the course header image.
    This is a modified version of block_myoverview/progress-bar.

    Example context (json):
    {
        "progress": 50
    }
}}
<div class="courseprogress w-100">
    <span class="visually-hidden">{{#str}}aria:courseprogress, block_myoverview{{/str}}</span>
    <div class="progress rounded-0 rounded-bottom {{#courseheaderborderclasses}}{{{courseheaderborderclasses}}} border-top-0{{/courseheaderborderclasses}}" style="height: 10px;">
        <div class="progress-bar bg-primary" role="progressbar" aria-valuenow="{{progress}}" style="width: {{progress}}%" title= "{{#str}}completepercent, theme_boost_union, {{progress}}{{/str}}" aria-valuemin="0" aria-valuemax="100"></div>
    </div>
</div>
