~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: 2009-02-27 07:12:29 UTC
  • Revision ID: grantw@unimelb.edu.au-20090227071229-zzjx7fpxr7b72wqt
SubjectsView now tells users if they have no enrolments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  <body>
7
7
    <h1>Subjects</h1>
8
8
    <div id="ivle_padding">
 
9
      <p py:if="len(semesters) == 0">You are not currently enrolled in any subjects.</p>
9
10
      <py:for each="(semester, enrolments) in semesters">
10
11
        <py:choose test="semester.state">
11
12
          <h2 py:when="u'current'">${semester.year}, semester ${semester.semester}</h2>