{{!
    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.

    Edwiser RemUI 
    @package    theme_remui
    @copyright  (c) 2018 WisdmLabs (https://wisdmlabs.com/)
    @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 
}}
<div id="recent-section">
    <div class = "w-p100 bg-white">
        <ul class="nav nav-tabs nav-tabs-line border-0 p-15" role="tablist">
            <li class="nav-item">
                <a class="nav-link active" href="#recent_assignment" role="tab" data-toggle="tab">
                    {{# hasrecentassignments }}
                        {{#str}}assignmentstobegraded, theme_remui{{/str}}
                    {{/ hasrecentassignments }}
                    {{^ hasrecentassignments }}
                        {{#str}}recentfeedback, theme_remui{{/str}}
                    {{/ hasrecentassignments }}
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#recent_active_forum" role="tab" data-toggle="tab">
                    {{#str}}recentlyactiveforums, theme_remui{{/str}}
                </a>
            </li>
        </ul>
    </div>
    <div class="tab-content bg-white">
        <div role="tabpanel" class="tab-pane fade show active" id="recent_assignment">
            {{> theme_remui/recent_assignments }}
        </div>
        <div role="tabpanel" class="tab-pane fade show" id="recent_active_forum">
            {{> theme_remui/recent_active_forum }}
        </div>
    </div>
</div>