{{!
    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/infobannersabove

    Boost Union Info banners above layout template.

    Context variables required for this template:
    * infobannersabove - The configured info banners list with:
      * content - The info banner content
      * bsclass - The info banner bootstrap class
      * no - The info banner number
      * dismissible - The fact that the info banner is dismissible

    Example context (json):
    {
        "infobannersabove": [
            {
                "content": "Lorem ipsum",
                "bsclass": "primary",
                "no": 1,
                "dismissible": true
            },
            {
                "content": "Dolor sit damet",
                "bsclass": "secondary",
                "no": 2,
                "dismissible": false
            }
        ]
    }
}}

{{#infobannersabove}}
    {{> theme_boost_union/infobanner-item }}
{{/infobannersabove}}
