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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2010-07-27 09:02:06 UTC
  • mto: This revision was merged to the branch mainline in revision 1824.
  • Revision ID: grantw@unimelb.edu.au-20100727090206-pmf5j6lu6xc892q8
Replace semester.semester with semester.{code,url_name,display_name}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
      <p py:if="len(semesters) == 0">You are not currently enrolled in any subjects.</p>
10
10
      <py:for each="(semester, offerings) in semesters">
11
11
        <h2 py:attrs="{'class': 'subject_current' if semester.state == u'current' else None}">
12
 
          ${semester.year}, semester ${semester.semester}
 
12
          ${semester.year}, ${semester.display_name}
13
13
        </h2>
14
14
        <ul>
15
15
          <li py:for="offering in offerings">