Changeset 6953
- Timestamp:
- 26 Oct 2011, 05:45:41 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py
r6907 r6953 569 569 """Contact tab in primary navigation. 570 570 """ 571 grok.order( 4)571 grok.order(6) 572 572 grok.require('waeup.Anonymous') 573 573 grok.template('primarynavtab') -
main/waeup.sirp/trunk/src/waeup/sirp/hostels/container.py
r6952 r6953 19 19 import grok 20 20 from grok import index 21 from waeup.sirp.hostels.interfaces import IHostelsContainer 21 from waeup.sirp.hostels.interfaces import IHostelsContainer, IHostel 22 22 from waeup.sirp.utils.helpers import attrs_to_fields 23 23 from waeup.sirp.utils.logger import Logger -
main/waeup.sirp/trunk/src/waeup/sirp/hostels/hostel.py
r6952 r6953 30 30 grok.baseclass() 31 31 32 def __init__(self ):32 def __init__(self, **data): 33 33 super(Hostel, self).__init__() 34 self.hostel_id = None34 self.hostel_id = data['hostel_id'] 35 35 return 36 36 -
main/waeup.sirp/trunk/src/waeup/sirp/hostels/interfaces.py
r6952 r6953 20 20 21 21 hostel_id = schema.TextLine( 22 title = u' StudentID',22 title = u'Hostel ID', 23 23 required = False, 24 24 ) -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r6947 r6953 74 74 75 75 grok.context(IWAeUPObject) 76 grok.order( 3)76 grok.order(4) 77 77 grok.require('waeup.viewStudent') 78 78 grok.template('primarynavtab')
Note: See TracChangeset for help on using the changeset viewer.