Changeset 6081 for main/waeup.sirp/trunk


Ignore:
Timestamp:
14 May 2011, 00:52:04 (14 years ago)
Author:
uli
Message:

Remove more trash, reorder imports.

File:
1 edited

Legend:

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

    r6080 r6081  
    2828from hurry.jqueryui import jqueryui
    2929from zope.component import getUtility, createObject
     30from zope.formlib.sequencewidget import (
     31    ListSequenceWidget, SequenceDisplayWidget)
     32from zope.formlib.widget import CustomWidgetFactory
    3033from zope.formlib.widgets import FileWidget, DateWidget
    3134from zope.securitypolicy.interfaces import IPrincipalRoleManager
     35
    3236from waeup.sirp.browser import (
    3337    WAeUPPage, WAeUPEditFormPage, WAeUPAddFormPage,
    3438    WAeUPDisplayFormPage, NullValidator)
     39from waeup.sirp.browser.breadcrumbs import Breadcrumb
    3540from waeup.sirp.browser.pages import LoginPage
    36 from waeup.sirp.interfaces import IWAeUPObject
    3741from waeup.sirp.browser.resources import datepicker, tabs, datatable
    3842from waeup.sirp.browser.viewlets import (
    3943    AddActionButton, ManageActionButton, PrimaryNavTab,
    4044    )
    41 from waeup.sirp.browser.breadcrumbs import Breadcrumb
     45from waeup.sirp.image.browser.widget import (
     46    ThumbnailWidget, EncodingImageFileWidget,
     47    )
     48from waeup.sirp.interfaces import IWAeUPObject
     49from waeup.sirp.utils.helpers import ReST2HTML
     50from waeup.sirp.widgets.passportwidget import (
     51    PassportWidget, PassportDisplayWidget
     52    )
     53from waeup.sirp.widgets.datewidget import (
     54    FriendlyDateWidget, FriendlyDateDisplayWidget)
     55from waeup.sirp.widgets.restwidget import ReSTWidget
     56from waeup.sirp.widgets.objectwidget import (
     57    WAeUPObjectWidget, WAeUPObjectDisplayWidget)
     58from waeup.sirp.widgets.multilistwidget import (
     59    MultiListWidget, MultiListDisplayWidget)
     60
    4261from waeup.sirp.applicants import get_applicant_data, ResultEntry, Applicant
    4362from waeup.sirp.applicants.interfaces import (
     
    4665    IApplicantsContainerAdd
    4766    )
    48 from waeup.sirp.widgets.passportwidget import (
    49     PassportWidget, PassportDisplayWidget
    50     )
    51 from waeup.sirp.widgets.datewidget import (
    52     FriendlyDateWidget, FriendlyDateDisplayWidget)
    53 
    54 from waeup.sirp.widgets.restwidget import ReSTWidget
    55 
    56 from zope.formlib.sequencewidget import ListSequenceWidget, SequenceDisplayWidget
    57 from zope.formlib.widget import CustomWidgetFactory
    58 from waeup.sirp.utils.helpers import ReST2HTML
    59 from waeup.sirp.widgets.objectwidget import (
    60     WAeUPObjectWidget, WAeUPObjectDisplayWidget)
    61 from waeup.sirp.widgets.multilistwidget import (
    62     MultiListWidget, MultiListDisplayWidget)
    63 from waeup.sirp.image.browser.widget import (
    64     ThumbnailWidget, EncodingImageFileWidget,
    65     )
    6667
    6768results_widget = CustomWidgetFactory(
     
    8889        datatable.need()
    8990        return
    90 
    91     #def getApplications(self):
    92     #    """Get a list of all stored applicant containers.
    93     #    """
    94     #    for key, val in self.context.items():
    95     #        url = self.url(val)
    96     #        yield(dict(url=url, name=key, container=val))
    9791
    9892class ManageApplicantsRootActionButton(ManageActionButton):
     
    233227        return self.title
    234228
    235     #def descriptionToHTML(self):
    236     #    if self.context.description:
    237     #        return ReST2HTML(self.context.description)
    238     #    else:
    239     #        return
    240 
    241 
    242229
    243230class ManageApplicantsContainerActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.