Changeset 9201
- Timestamp:
- 19 Sep 2012, 10:16:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9199 r9201 1547 1547 grok.require('waeup.handleAccommodation') 1548 1548 form_fields = grok.AutoFields(IBedTicket) 1549 form_fields['booking_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 1549 1550 pnav = 4 1550 1551 … … 1573 1574 def label(self): 1574 1575 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 1575 return translate(_('Bed Allocation: '), 1576 #return translate(_('Bed Allocation: '), 1577 # 'waeup.kofa', target_language=portal_language) \ 1578 # + ' %s' % self.context.bed_coordinates 1579 return translate(_('Bed Allocation Slip'), 1576 1580 'waeup.kofa', target_language=portal_language) \ 1577 + ' %s' % self.context. bed_coordinates1581 + ' %s' % self.context.getSessionString() 1578 1582 1579 1583 def render(self):
Note: See TracChangeset for help on using the changeset viewer.