-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutcomes.html
41 lines (32 loc) · 1.11 KB
/
outcomes.html
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
31
32
33
34
35
36
37
38
39
40
41
---
layout: page
---
<h1>Learning Outcomes</h1>
{% assign outcomes = site.outcomes %}
{% assign course_outcomes = site.data.course_outcomes | sort: 'sort-order' %}
{% for course_outcome in course_outcomes %}
<div class="panel panel-primary">
<div class="panel-heading">
<h2 class="panel-title"><i class="fa fa-star" aria-hidden="true"></i> {{ course_outcome.text }}</h2>
</div>
<ul class="list-group">
{% assign match_found = false %}
{% for outcome in outcomes %}
{% if outcome.course_outcome == course_outcome.id %}
{% assign match_found = true %}
<li class="list-group-item">
<a class="block-link" href="{{ outcome.url | prepend: site.baseurl }}">
<h3 class="panel-title"><i class="fa fa-check-square-o" aria-hidden="true"></i> {{ outcome.title }}</h3>
{{ outcome.content | markdownify }}
</a>
</li>
{% endif %}
{% endfor %}
{% if match_found == false %}
<li class="list-group-item">No supporting module outcomes found.</li>
{% endif %}
</ul>
</div>
{% else %}
<p>No course outcomes configured for this course.</p>
{% endfor %}