Ignore:
Timestamp:
8 Mar 2012, 22:28:46 (13 years ago)
Author:
Henrik Bettermann
Message:

KOFA -> Kofa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser.py

    r7811 r7819  
    2323from zope.component import getUtility
    2424from waeup.kofa.browser import (
    25     KOFAEditFormPage, KOFAAddFormPage, KOFADisplayFormPage,
     25    KofaEditFormPage, KofaAddFormPage, KofaDisplayFormPage,
    2626    NullValidator)
    2727from waeup.kofa.browser.breadcrumbs import Breadcrumb
     
    3232    ManageActionButton, PrimaryNavTab)
    3333from waeup.kofa.browser.layout import jsaction, action
    34 from waeup.kofa.interfaces import IKOFAObject, IKOFAUtils
     34from waeup.kofa.interfaces import IKofaObject, IKofaUtils
    3535from waeup.kofa.interfaces import MessageFactory as _
    3636from waeup.kofa.hostels.vocabularies import NOT_OCCUPIED
     
    6161    """
    6262
    63     grok.context(IKOFAObject)
     63    grok.context(IKofaObject)
    6464    grok.order(5)
    6565    grok.require('waeup.viewHostels')
     
    9696            mapping = {'a':co[1], 'b':co[2], 'c':co[3]})
    9797
    98 class HostelsContainerPage(KOFADisplayFormPage):
     98class HostelsContainerPage(KofaDisplayFormPage):
    9999    """The standard view for hostels containers.
    100100    """
     
    113113    text = _('Manage accommodation section')
    114114
    115 class HostelsContainerManagePage(KOFADisplayFormPage):
     115class HostelsContainerManagePage(KofaDisplayFormPage):
    116116    """The manage page for hostel containers.
    117117    """
     
    148148        return
    149149
    150 class HostelAddFormPage(KOFAAddFormPage):
     150class HostelAddFormPage(KofaAddFormPage):
    151151    """Add-form to add a hostel.
    152152    """
     
    175175        return
    176176
    177 class HostelDisplayFormPage(KOFADisplayFormPage):
     177class HostelDisplayFormPage(KofaDisplayFormPage):
    178178    """ Page to display hostel data
    179179    """
     
    196196    target = 'manage'
    197197
    198 class HostelManageFormPage(KOFAEditFormPage):
     198class HostelManageFormPage(KofaEditFormPage):
    199199    """ View to edit hostel data
    200200    """
     
    261261        switched = [] # for log file
    262262        switched_translated = [] # for flash message
    263         portal_language = getUtility(IKOFAUtils).PORTAL_LANGUAGE
     263        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    264264        preferred_language = self.request.cookies.get(
    265265            'kofa.language', portal_language)
     
    306306        return
    307307
    308 class BedManageFormPage(KOFAEditFormPage):
     308class BedManageFormPage(KofaEditFormPage):
    309309    """ View to edit bed data
    310310    """
Note: See TracChangeset for help on using the changeset viewer.