{{!
    This file is part of Moodle - https://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 local_kopere_dashboard/profile_details

    Example context (json):
    {
        "user_data": "<h1>Eduardo Kraus</h1><p>Professor / Programador / Apaixonado por Moodle</p>",
        "list_courses": "<div>Curso de Administração Moodle</div><div>Desenvolvimento de Plugins</div><div>Integração com APIs</div>",
        "get_user_info": "<p>Email: eduardo@kraus.com</p><p>Localização: Brasil</p><p>Último acesso: 14/03/2025</p>"
    }
}}

<div class="profile-content">
    <div class="table">
        <div class="profile">
            {{{user_data}}}
            <h2>{{#str}}profile_courses_title, local_kopere_dashboard{{/str}}</h2>
            <div class="personalDev">
                {{{list_courses}}}
            </div>
        </div>

        <div class="info">
            {{{get_user_info}}}
        </div>
    </div>
</div>