{{#if error}}
{{> errorpartial message=error}}
{{else}}
{{#each overview}}
<div class="collection">
    <div class="collection-item row">
        <b class="col s9">{{courseFullName}}</b>
        <img class="col s3 right" src="img/Quizz2Go.gif" style="height:30px;width:30px;padding:0;">
    </div>
    {{#each courseQuiz}}
    <a class="collection-item waves-effect quizz {{#if offlineAvailable}} offline{{/if}} row" data-courseid="{{courseId}}" data-id="{{id}}" data-title="{{name}}" data-main="{{main}}" style="width:100%;">
        <div class="col s9">{{name}}{{#if offlineAvailable}}<br /><div style="font-size:10px;">{{langString "quiz.quiz_offline_available"}}</div>{{/if}}</div>
        <i class="material-icons col s3" style="text-align:right">chevron_right</i>
    </a>
    {{/each}}
</div>
{{/each}}
{{/if}}