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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/breadcrumbs.py

  • 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:
88
88
 
89
89
    @property
90
90
    def text(self):
91
 
        return '%s semester %s' % (self.context.semester.year,
92
 
                                   self.context.semester.semester)
 
91
        return '%s %s' % (self.context.semester.year,
 
92
                          self.context.semester.display_name)
93
93
 
94
94
 
95
95
class ProjectsBreadcrumb(object):