Ignore:
Timestamp:
8 Jan 2010, 01:48:46 (15 years ago)
Author:
uli
Message:

Mark course containers and certificate containers to be ignored by
breadcrumbs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/browser/breadcrumbs.py

    r4704 r4725  
    111111    grok.context(interfaces.IDepartment)
    112112
     113class CourseContainerBreadcrumb(Breadcrumb):
     114    """ We don't want course container breadcrumbs.
     115    """
     116    grok.context(interfaces.ICourseContainer)
     117    grok.implements(IBreadcrumbIgnorable)
     118
     119class CertificateContainerBreadcrumb(Breadcrumb):
     120    """ We don't want course container breadcrumbs.
     121    """
     122    grok.context(interfaces.ICertificateContainer)
     123    grok.implements(IBreadcrumbIgnorable)
    113124
    114125def getBreadcrumb(obj, viewname=None):
Note: See TracChangeset for help on using the changeset viewer.