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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/subject.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:
21
21
        <li py:for="offering in offerings"
22
22
            py:attrs="{'class': 'subject_current' if offering.semester.state == u'current' else None}">
23
23
          <py:choose test="user.admin or offering.get_enrolment(user) is not None">
24
 
            <a py:when="True" href="${req.publisher.generate(offering)}">${offering.semester.year}, semester ${offering.semester.semester}</a>
25
 
            <span py:otherwise="">${offering.semester.year}, semester ${offering.semester.semester}</span>
 
24
            <a py:when="True" href="${req.publisher.generate(offering)}">${offering.semester.year}, ${offering.semester.display_name}</a>
 
25
            <span py:otherwise="">${offering.semester.year}, ${offering.semester.display_name}</span>
26
26
          </py:choose>
27
27
        </li>
28
28
      </ul>