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

« back to all changes in this revision

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

Semesters now have separate URL name, display name and code attributes.

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>