Changeset 13914


Ignore:
Timestamp:
11 Jun 2016, 09:23:46 (9 years ago)
Author:
uli
Message:

Reorder imports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-scores-upload/src/waeup/kofa/browser/viewlets.py

    r13913 r13914  
    1818import grok
    1919from urllib import urlencode
     20from zope.component import getMultiAdapter, queryAdapter, getUtility
    2021from zope.i18n import translate
    21 from zope.component import getMultiAdapter, queryAdapter, getUtility
    2222from zope.interface import Interface
    2323from zope.location.interfaces import ISite
    2424from zope.traversing.browser import absoluteURL
     25from waeup.kofa.browser.interfaces import (
     26    IFacultiesContainer, IFaculty, IDepartment, ICourse, ICertificate,
     27    ICertificateCourse, IBreadcrumbContainer, IUniversity, IUsersContainer)
     28from waeup.kofa.browser.layout import KofaPage, default_primary_nav_template
    2529from waeup.kofa.browser.pages import (
    2630    UniversityPage, FacultiesContainerPage, DatacenterPage, FacultyPage,
    2731    DepartmentPage, CoursePage, CertificatePage, CertificateCoursePage,
    2832    UsersContainerPage, UserManageFormPage, DatacenterImportStep1)
    29 from waeup.kofa.browser.interfaces import (
    30     IFacultiesContainer, IFaculty, IDepartment, ICourse, ICertificate,
    31     ICertificateCourse, IBreadcrumbContainer, IUniversity, IUsersContainer)
     33from waeup.kofa.interfaces import MessageFactory as _
    3234from waeup.kofa.interfaces import (
    3335    IKofaUtils, IKofaObject,
    3436    IDataCenter, IUserAccount)
    35 from waeup.kofa.browser.layout import KofaPage, default_primary_nav_template
    3637from waeup.kofa.utils.helpers import get_user_account
    3738
    38 from waeup.kofa.interfaces import MessageFactory as _
    3939
    4040grok.templatedir('templates')
    4141grok.context(IKofaObject) # Make IKofaObject the default context
    4242
     43
    4344class ManageSidebar(grok.ViewletManager):
    4445    grok.name('left_manage')
    4546
     47
    4648class BreadCrumbManager(grok.ViewletManager):
    4749    grok.name('breadcrumbs')
    4850
     51
    4952class LanguageManager(grok.ViewletManager):
    5053    grok.name('languages')
    5154
     55
    5256class ActionBar(grok.ViewletManager):
    5357    grok.name('actionbar')
    5458
     59
    5560class AdministrationTasks(grok.ViewletManager):
    5661    grok.name('admintasks')
    5762
     63
    5864class WidgetsSlot(grok.ViewletManager):
    5965    grok.name('widgets')
    6066
     67
    6168class SourcesLeft(grok.ViewletManager):
    6269    grok.name('sources_left')
     70
    6371
    6472class SourcesRight(grok.ViewletManager):
Note: See TracChangeset for help on using the changeset viewer.