Ignore:
Timestamp:
12 Mar 2011, 08:18:49 (14 years ago)
Author:
Henrik Bettermann
Message:

Add breadcrumbs for ApplicantsRoot? and ApplicantsContainer?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r5844 r5845  
    3838    AddActionButton, ManageActionButton, PrimaryNavTab,
    3939    )
     40from waeup.sirp.browser.breadcrumbs import Breadcrumb
    4041from waeup.sirp.applicants import get_applicant_data, ResultEntry
    4142from waeup.sirp.applicants.interfaces import (
     
    192193        return result
    193194
     195class ApplicantsRootBreadcrumb(Breadcrumb):
     196    """A breadcrumb for applicantsroot.
     197    """
     198    grok.context(IApplicantsRoot)
     199    title = u'Applicants'
     200   
     201class ApplicantsContainerBreadcrumb(Breadcrumb):
     202    """A breadcrumb for applicantscontainers.
     203    """
     204    grok.context(IApplicantsContainer)
    194205
    195206class ApplicantsTab(PrimaryNavTab):
     
    298309    label = 'Edit container'
    299310    title = label
    300     pnav = 2
     311    pnav = 3
    301312
    302313    def update(self):
     
    369380        return 'Apply for Post UDE Screening Test (2009/2010)'
    370381    title = 'Edit Application'
    371     pnav = 1
     382    pnav = 3
    372383
    373384    @grok.action('Save')
Note: See TracChangeset for help on using the changeset viewer.