4
4
<title>Subjects</title>
8
7
<div id="ivle_padding">
10
<py:for each="enrolment in enrolments">
12
<a href="/subjects/${enrolment.offering.subject.code}/${enrolment.offering.semester.year}/${enrolment.offering.semester.semester}/+worksheets">
13
${enrolment.offering.subject.name}
8
<h2>IVLE Subject Homepages</h2>
9
<py:if test="(len(enrolled_subjects) > 0)">
12
<py:for each="subject in enrolled_subjects">
13
<py:choose test="subject['url']">
15
<li>${subject['name']} (no home page)</li>
18
<li><a href="${subject['url']}">${subject['name']}</a></li>
24
<py:if test="(len(other_subjects) > 0)">
25
<h3>Other Subjects</h3>
26
<p>You are not currently enrolled in these subjects</p>
28
<py:for each="subject in other_subjects">
29
<py:choose test="subject['url']">
31
<li>${subject['name']} (no home page)</li>
34
<li><a href="${subject['url']}">${subject['name']}</a></li>