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

« back to all changes in this revision

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

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

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):