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

« back to all changes in this revision

Viewing changes to ivle/webapp/userservice/__init__.py

  • Committer: Matt Giuca
  • Date: 2010-02-24 04:57:52 UTC
  • Revision ID: matt.giuca@gmail.com-20100224045752-r1ipo8qyo0hh3ois
Specialhome now shows the semester name for any non-current offerings. userservice/get_enrolments now returns the 'state' property of an offering (past, current, future, etc). This fixes Launchpad bug #526838.

Show diffs side-by-side

added added

removed removed

Lines of Context:
261
261
            'subj_short_name': e.offering.subject.short_name,
262
262
            'year':            e.offering.semester.year,
263
263
            'semester':        e.offering.semester.semester,
 
264
            'state':           e.offering.semester.state,
264
265
            'groups':          [{'name': group.name,
265
266
                                 'nick': group.nick} for group in e.groups]
266
267
        })