1
<html xmlns="http://www.w3.org/1999/xhtml"
2
xmlns:xi="http://www.w3.org/2001/XInclude"
3
xmlns:py="http://genshi.edgewall.org/" py:strip="">
6
<div id="ivle_padding">
7
<h2>IVLE Subject Homepages</h2>
8
<py:if test="(len(enrolled_subjects) > 0)">
11
<py:for each="subject in enrolled_subjects">
12
<py:choose test="subject['url']">
14
<li>${subject['name']} (no home page)</li>
17
<li><a href="${subject['url']}">${subject['name']}</a></li>
23
<py:if test="(len(other_subjects) > 0)">
24
<h3>Other Subjects</h3>
25
<p>You are not currently enrolled in these subjects</p>
27
<py:for each="subject in other_subjects">
28
<py:choose test="subject['url']">
30
<li>${subject['name']} (no home page)</li>
33
<li><a href="${subject['url']}">${subject['name']}</a></li>