Changeset 7321 for main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser.py
- Timestamp:
- 10 Dec 2011, 06:15:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser.py
r7257 r7321 21 21 import sys 22 22 from waeup.sirp.browser import ( 23 WAeUPEditFormPage, WAeUPAddFormPage, WAeUPDisplayFormPage,23 SIRPEditFormPage, SIRPAddFormPage, SIRPDisplayFormPage, 24 24 NullValidator) 25 25 from waeup.sirp.browser.breadcrumbs import Breadcrumb … … 29 29 from waeup.sirp.browser.viewlets import ( 30 30 ManageActionButton, PrimaryNavTab) 31 from waeup.sirp.interfaces import I WAeUPObject31 from waeup.sirp.interfaces import ISIRPObject 32 32 from waeup.sirp.hostels.vocabularies import NOT_OCCUPIED 33 33 from waeup.sirp.hostels.hostel import Hostel … … 57 57 """ 58 58 59 grok.context(I WAeUPObject)59 grok.context(ISIRPObject) 60 60 grok.order(5) 61 61 grok.require('waeup.viewHostels') … … 91 91 return 'Block %s, Room %s, Bed %s' % (co[1], co[2], co[3]) 92 92 93 class HostelsContainerPage( WAeUPDisplayFormPage):93 class HostelsContainerPage(SIRPDisplayFormPage): 94 94 """The standard view for hostels containers. 95 95 """ … … 109 109 text = 'Manage accommodation section' 110 110 111 class HostelsContainerManagePage( WAeUPDisplayFormPage):111 class HostelsContainerManagePage(SIRPDisplayFormPage): 112 112 """The manage page for hostel containers. 113 113 """ … … 141 141 return 142 142 143 class HostelAddFormPage( WAeUPAddFormPage):143 class HostelAddFormPage(SIRPAddFormPage): 144 144 """Add-form to add a hostel. 145 145 """ … … 169 169 return 170 170 171 class HostelDisplayFormPage( WAeUPDisplayFormPage):171 class HostelDisplayFormPage(SIRPDisplayFormPage): 172 172 """ Page to display hostel data 173 173 """ … … 194 194 target = 'manage' 195 195 196 class HostelManageFormPage( WAeUPEditFormPage):196 class HostelManageFormPage(SIRPEditFormPage): 197 197 """ View to edit hostel data 198 198 """ … … 294 294 return 295 295 296 class BedManageFormPage( WAeUPEditFormPage):296 class BedManageFormPage(SIRPEditFormPage): 297 297 """ View to edit bed data 298 298 """
Note: See TracChangeset for help on using the changeset viewer.