{{!
    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_thinkera/quiz_review_summary

    The facts about a finished attempt, as tiles rather than a two-column table.

    The items come from mod_quiz\output\attempt_summary_information: the platform decides which ones a student
    may see and in what order, and their content is already formatted HTML.

    Example context (json):
    {"hasitems": true, "caption": "", "items": [{"title": "الدرجة", "content": "8 من 12"}]}
}}
{{#hasitems}}
<div class="tk-rsum">
    {{#caption}}<h2 class="tk-rsum-caption">{{{caption}}}</h2>{{/caption}}
    <dl class="tk-rsum-list">
        {{#items}}
        <div class="tk-rsum-item">
            <dt class="tk-rsum-title">{{{title}}}</dt>
            <dd class="tk-rsum-value">{{{content}}}</dd>
        </div>
        {{/items}}
    </dl>
</div>
{{/hasitems}}
