Changeset 8176 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 16 Apr 2012, 09:16:34 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r8173 r8176 55 55 FriendlyDateDisplayWidget, FriendlyDateDisplayWidget, 56 56 FriendlyDatetimeDisplayWidget) 57 from waeup.kofa.widgets.phonewidget import PhoneWidget58 57 from waeup.kofa.widgets.restwidget import ReSTDisplayWidget 59 58 … … 353 352 'firstname', 'middlename', 'lastname', 354 353 'email', 'phone') 355 form_fields['phone'].custom_widget = PhoneWidget356 354 label = _('Add applicant') 357 355 pnav = 3 … … 616 614 form_fields['student_id'].for_display = True 617 615 form_fields['applicant_id'].for_display = True 618 form_fields['phone'].custom_widget = PhoneWidget619 616 grok.template('applicanteditpage') 620 617 manage_applications = True … … 749 746 'screening_score', 750 747 ) 751 form_fields['phone'].custom_widget = PhoneWidget752 748 form_fields['applicant_id'].for_display = True 753 749 form_fields['reg_number'].for_display = True … … 872 868 form_fields = grok.AutoFields(IApplicantEdit).select( 873 869 'firstname', 'middlename', 'lastname', 'email', 'phone') 874 form_fields['phone'].custom_widget = PhoneWidget875 876 870 return form_fields 877 871 -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r8160 r8176 33 33 from waeup.kofa.interfaces import MessageFactory as _ 34 34 from waeup.kofa.payments.interfaces import IOnlinePayment 35 #from waeup.kofa.schoolgrades import ResultEntryField 35 from waeup.kofa.schema import PhoneNumber 36 36 from waeup.kofa.students.vocabularies import GenderSource 37 37 from waeup.kofa.university.vocabularies import ( … … 356 356 constraint=validate_email, 357 357 ) 358 phone = schema.TextLine(358 phone = PhoneNumber( 359 359 title = _(u'Phone'), 360 360 description = u'',
Note: See TracChangeset for help on using the changeset viewer.