~azzar1/unity/add-show-desktop-key

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
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/">
  <head>
    <title>Subjects</title>
  </head>
  <body>
    <h1>Subjects</h1>
    <div id="ivle_padding">
      <py:for each="(semester, enrolments) in semesters">
        <py:choose test="semester.state">
          <h2 py:when="u'current'">${semester.year}, semester ${semester.semester}</h2>
          <h3 py:otherwise="">${semester.year}, semester ${semester.semester}</h3>
        </py:choose>
        <ul>
          <py:for each="enrolment in enrolments">
            <li>
              <a href="/subjects/${enrolment.offering.subject.code}/${enrolment.offering.semester.year}/${enrolment.offering.semester.semester}/+worksheets">
                ${enrolment.offering.subject.name}
              </a>
            </li>
          </py:for>
        </ul>
      </py:for>
    </div>
  </body>
</html>