~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-28 05:06:15 UTC
  • Revision ID: grantw@unimelb.edu.au-20100728050615-uwbxn9frla3pdw8m
Encode content_type when downloading files. cjson made us write bad code.

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>