forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgressionModuleView.handlebars
More file actions
30 lines (30 loc) · 1.11 KB
/
Copy pathProgressionModuleView.handlebars
File metadata and controls
30 lines (30 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div id="progression_student_{{student_id}}_module_{{id}}" class="progression-module content-box border border-trbl border-round container-fluid">
<div class="row-fluid">
<div class="name ig-header span8">{{name}}</div>
<div class="status ig-header span4 {{#unless started}}no_subtitle{{/unless}} {{#if completed}}completed{{/if}}">
{{status_text}}
{{#if started}}
<div class="subtitle">
{{#t "items_below"}}Items to complete below{{/t}}
</div>
{{/if}}
{{#if completed}}<i class="icon-check" aria-hidden="true"></i>{{/if}}
</div>
</div>
{{#if started}}
<div class="items">
<hr>
<ul title="{{#t "items"}}Items to complete{{/t}}" aria-label="{{#t "items"}}Items to complete{{/t}}">
{{#each items}}
{{#if this.completion_requirement}}
{{#unless this.completion_requirement.completed}}
<li class="ig-text">
<i class="{{this.icon_class}}" aria-hidden="true"></i> {{this.title}}
</li>
{{/unless}}
{{/if}}
{{/each}}
</ul>
</div>
{{/if}}
</div>