{{!
    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/>.
}}
{{!
 @package   theme_snap
 @copyright Copyright (c) 2016 Blackboard Inc. (http://www.blackboard.com)
 @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
}}
<h2 class="sumario"><i class="fa fa-list-ul" aria-hidden="true"></i> Conteúdo do curso</h2>
<ol id="chapters" class="chapters {{listlarge}}" start="0">
    {{#chapters}}
    <li class="{{classes}}">
        {{#outputlink}}
            <a class="chapter-title" href="{{url}}"><span class="topicos">{{contador}}</span> {{{title}}}</a>
        {{/outputlink}}
        {{^outputlink}}
            <span class="chapter-title">{{title}}</span>
        {{/outputlink}}
        {{#iscurrent}}
            <span class="text text-success">
                <small>{{#str}}current, theme_snap{{/str}}</small>
            </span>
        {{/iscurrent}}
        {{#availabilitystatus}}
            <span class="text {{availabilityclass}}">
                <small class="published-status">{{availabilitystatus}}</small>
            </span>
        {{/availabilitystatus}}
        {{#progress}}{{#progress.total}}
            <span class="text completionstatus outoftotal">
                {{#completed}}
                <img class="snap-section-complete" src="{{pixcompleted}}" alt="{{#str}}completed, completion{{/str}}" />
                {{/completed}}
                <small>
                    ({{#str}} progresstotal, completion, { "complete":  {{progress.complete}}, "total": {{progress.total}} } {{/str}})
                </small>
            </span>
        {{/progress.total}}{{/progress}}
    </li>
    {{/chapters}}
</ol>
