Changeset 7599
- Timestamp:
- 7 Feb 2012, 11:30:00 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/layout.py
r7493 r7599 21 21 import grok 22 22 from datetime import date, datetime 23 import grokcore.view 23 from grokcore.view import PageTemplateFile 24 from grokcore.formlib.formlib import Action 24 25 from cgi import escape 25 26 from zope.i18nmessageid import Message … … 29 30 from zope.component import getUtility, queryUtility, ComponentLookupError 30 31 from zope.formlib.utility import setUpWidgets 31 from grokcore.formlib.formlib import Action32 32 from zope.interface import Interface 33 33 from zope.site.hooks import getSite … … 40 40 41 41 grok.templatedir('templates') 42 default_waeup_display_template = grokcore.view.PageTemplateFile(42 default_waeup_display_template = PageTemplateFile( 43 43 os.path.join('templates', 'default_waeup_display_form.pt')) 44 44 default_waeup_display_template.__grok_name__ = 'default_waeup_display_form' 45 45 46 default_waeup_edit_template = grokcore.view.PageTemplateFile(46 default_waeup_edit_template = PageTemplateFile( 47 47 os.path.join('templates', 'default_waeup_edit_form.pt')) 48 48 default_waeup_edit_template.__grok_name__ = 'default_waeup_edit_form' 49 49 50 default_primary_nav_template = grokcore.view.PageTemplateFile(50 default_primary_nav_template = PageTemplateFile( 51 51 os.path.join('templates', 'primarynavtab.pt')) 52 52 default_primary_nav_template.__grok_name__ = 'default_primary_nav' -
main/waeup.sirp/trunk/src/waeup/sirp/students/accommodation.py
r7256 r7599 17 17 ## 18 18 """ 19 Container which contains the (student) accommodation objects.19 Student accommodation components. 20 20 """ 21 21 from datetime import datetime -
main/waeup.sirp/trunk/src/waeup/sirp/students/payments.py
r7256 r7599 17 17 ## 18 18 """ 19 Container which contains the (student) payment objects.19 Student payment components. 20 20 """ 21 21 import grok -
main/waeup.sirp/trunk/src/waeup/sirp/widgets/datewidget.py
r7515 r7599 118 118 This widget is suitable for edit and add forms. 119 119 120 Valid `format` values are the keys of :var:`DATE_FORMATS`120 Valid `format` values are the keys of `DATE_FORMATS` 121 121 dict. Default is ``le`` (little endian; DD/MM/YYYY). 122 122 … … 135 135 This widget is suitable for display forms. 136 136 137 Valid `format` values are the keys of :var:`DATE_FORMATS`137 Valid `format` values are the keys of `DATE_FORMATS` 138 138 dict. Default is ``le`` (little endian; DD/MM/YYYY). 139 139 … … 152 152 This widget is suitable for display forms. 153 153 154 Valid `format` values are the keys of :var:`DATE_FORMATS`154 Valid `format` values are the keys of `DATE_FORMATS` 155 155 dict. Default is ``le`` (little endian; DD/MM/YYYY %H:%M:%S). 156 156
Note: See TracChangeset for help on using the changeset viewer.