Ignore:
Timestamp:
10 Dec 2011, 06:15:17 (13 years ago)
Author:
Henrik Bettermann
Message:

Replace the term 'WAeUP' by SIRP which is a WAeUP product.

File:
1 edited

Legend:

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

    r7243 r7321  
    2828    IFacultyContainer, IFaculty, IDepartment, ICourse, ICertificate,
    2929    ICertificateCourse, IBreadcrumbContainer, IUniversity, IUsersContainer)
    30 from waeup.sirp.interfaces import (IWAeUPObject, IWAeUPXMLExporter,
    31                                    IWAeUPXMLImporter, IDataCenter, IUserAccount)
    32 from waeup.sirp.browser.layout import WAeUPPage, default_primary_nav_template
     30from waeup.sirp.interfaces import (ISIRPObject, ISIRPXMLExporter,
     31                                   ISIRPXMLImporter, IDataCenter, IUserAccount)
     32from waeup.sirp.browser.layout import SIRPPage, default_primary_nav_template
    3333from waeup.sirp.utils.helpers import get_user_account
    3434
    3535grok.templatedir('templates')
    36 grok.context(IWAeUPObject) # Make IWAeUPObject the default context
     36grok.context(ISIRPObject) # Make ISIRPObject the default context
    3737
    3838class LeftSidebar(grok.ViewletManager):
     
    7474    """
    7575    grok.baseclass()
    76     grok.context(IWAeUPObject)
     76    grok.context(ISIRPObject)
    7777    grok.viewletmanager(ActionBar)
    7878    icon = 'actionicon_modify.png' # File must exist in static/
     
    185185
    186186class BreadCrumbs(grok.Viewlet):
    187     grok.context(IWAeUPObject)
     187    grok.context(ISIRPObject)
    188188    grok.viewletmanager(BreadCrumbManager)
    189189    grok.order(1)
     
    227227    grok.baseclass()
    228228    grok.viewletmanager(LeftSidebar)
    229     grok.context(IWAeUPObject)
     229    grok.context(ISIRPObject)
    230230    grok.order(5)
    231231    grok.require('waeup.manageUniversity')
     
    279279    """
    280280    grok.viewletmanager(LeftSidebar)
    281     grok.context(IWAeUPObject)
     281    grok.context(ISIRPObject)
    282282    grok.view(Interface)
    283283    grok.order(2)
     
    313313    """
    314314    grok.viewletmanager(LeftSidebar)
    315     grok.context(IWAeUPObject)
     315    grok.context(ISIRPObject)
    316316    grok.view(Interface)
    317317    grok.order(5)
     
    519519class BrowseActionButton(ActionButton):
    520520    grok.baseclass()
    521     grok.context(IWAeUPObject)
     521    grok.context(ISIRPObject)
    522522    grok.template('actionbutton')
    523523    grok.viewletmanager(ActionBar)
Note: See TracChangeset for help on using the changeset viewer.