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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/subjects.html

  • Committer: William Grant
  • Date: 2010-02-23 08:55:42 UTC
  • mto: This revision was merged to the branch mainline in revision 1674.
  • Revision ID: grantw@unimelb.edu.au-20100223085542-r8xw14bxxoraza51
Permit underscores in all names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html xmlns="http://www.w3.org/1999/xhtml"
2
 
      xmlns:py="http://genshi.edgewall.org/">
3
 
  <head>
4
 
    <title>Subjects</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Subjects</h1>
8
 
    <div id="ivle_padding">
9
 
      <py:for each="(semester, enrolments) in semesters">
10
 
        <py:choose test="semester.state">
11
 
          <h2 py:when="u'current'">${semester.year}, semester ${semester.semester}</h2>
12
 
          <h3 py:otherwise="">${semester.year}, semester ${semester.semester}</h3>
13
 
        </py:choose>
14
 
        <ul>
15
 
          <py:for each="enrolment in enrolments">
16
 
            <li>
17
 
              <a href="/subjects/${enrolment.offering.subject.code}/${enrolment.offering.semester.year}/${enrolment.offering.semester.semester}/+worksheets">
18
 
                ${enrolment.offering.subject.name}
19
 
              </a>
20
 
            </li>
21
 
          </py:for>
22
 
        </ul>
23
 
      </py:for>
24
 
    </div>
25
 
  </body>
26
 
</html>