Skip to content

Commit 7faf6af

Browse files
authored
Merge pull request #837 from uw-it-aca/hotfix/muwm-3935
muwm-3935 adds enrollment count to summary schedule card current quarter
2 parents 1e836a4 + 0f7ecd2 commit 7faf6af

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

myuw/templates/handlebars/card/summary/schedule.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,9 @@ <h4 class="myuw-card-row-heading" style="display:inline-block; margin-bottom:0px
5757

5858
<td class="course-type">
5959
{{#if @first }}
60-
{{#if ../../show_enrollment}}
61-
{{#if ../current_enrollment}}<a target="_blank" href="/teaching/{{ ../../year }},{{ ../../quarter }},{{ ../curriculum_abbr }},{{ ../course_number }}/{{ ../section_id }}/students" class="course_class_list" rel="{{ ../curriculum_abbr }} {{../course_number}} {{../section_id}}">{{../current_enrollment}}</a>{{else}}0{{/if}}&nbsp;of&nbsp;{{../limit_estimate_enrollment}}
62-
{{else}}
63-
<a target="_blank" href="/teaching/{{ ../../year }},{{ ../../quarter }},{{ ../curriculum_abbr }},{{ ../course_number }}/{{ ../section_id }}/students" class="course_class_list" rel="{{ ../curriculum_abbr }} {{../course_number}} {{../section_id}}">Class list</a>
64-
{{/if}}
60+
{{#if ../current_enrollment}}<a target="_blank" href="/teaching/{{ ../../year }},{{ ../../quarter }},{{ ../curriculum_abbr }},{{ ../course_number }}/{{ ../section_id }}/students" class="course_class_list" rel="{{ ../curriculum_abbr }} {{../course_number}} {{../section_id}}">{{../current_enrollment}}&nbsp;of&nbsp;{{../limit_estimate_enrollment}}</a>{{else}}0&nbsp;of&nbsp;{{../limit_estimate_enrollment}}{{/if}}
6561
{{/if}}
6662
</td>
67-
6863
{{/if}}
6964
</tr>
7065
{{/each}}

0 commit comments

Comments
 (0)