- Timestamp:
- 12 Jan 2012, 08:34:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/applicants/browser.py
r7449 r7451 38 38 from waeup.sirp.browser.interfaces import ICaptchaManager 39 39 from waeup.sirp.browser.breadcrumbs import Breadcrumb 40 from waeup.sirp.browser.layout import NullValidator, jsaction, action 40 from waeup.sirp.browser.layout import ( 41 NullValidator, jsaction, action, UtilityView) 41 42 from waeup.sirp.browser.pages import add_local_role, del_local_roles 42 43 from waeup.sirp.browser.resources import datepicker, tabs, datatable, warning … … 409 410 'applicant_id', 'firstname', 'lastname','email', 'course1') 410 411 411 class CreateStudentPage( grok.View):412 class CreateStudentPage(UtilityView, grok.View): 412 413 """Create a student object from applicatnt data 413 414 and copy applicant object. … … 426 427 return 427 428 428 class AcceptanceFeePaymentAddPage( grok.View):429 class AcceptanceFeePaymentAddPage(UtilityView, grok.View): 429 430 """ Page to add an online payment ticket 430 431 """ … … 493 494 self.context.__parent__.display_fullname,self.context.p_id) 494 495 495 class OnlinePaymentCallbackPage( grok.View):496 class OnlinePaymentCallbackPage(UtilityView, grok.View): 496 497 """ Callback view 497 498 """ … … 525 526 return 526 527 527 class ExportPDFPaymentSlipPage( grok.View):528 class ExportPDFPaymentSlipPage(UtilityView, grok.View): 528 529 """Deliver a PDF slip of the context. 529 530 """ … … 552 553 self.context.__parent__, applicantview) 553 554 554 class ExportPDFPage( grok.View):555 class ExportPDFPage(UtilityView, grok.View): 555 556 """Deliver a PDF slip of the context. 556 557 """ … … 763 764 form_fields['date_of_birth'].custom_widget = FriendlyDateWidget('le-year') 764 765 form_fields['phone'].custom_widget = PhoneWidget 766 form_fields['applicant_id'].for_display = True 765 767 grok.template('applicanteditpage') 766 768 manage_applications = False
Note: See TracChangeset for help on using the changeset viewer.