Changeset 13063 for main/waeup.uniben/trunk/src/waeup
- Timestamp:
- 16 Jun 2015, 14:10:57 (10 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r12879 r13063 28 28 from waeup.kofa.students.browser import ( 29 29 StudyLevelEditFormPage, StudyLevelDisplayFormPage, 30 StudentBasePDFFormPage, ExportPDFCourseRegistrationSlip Page,30 StudentBasePDFFormPage, ExportPDFCourseRegistrationSlip, 31 31 CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage, 32 32 msave, emit_lock_message, 33 StudentActivate Page, StudentDeactivatePage,34 ExportPDFTranscript Page)33 StudentActivateView, StudentDeactivateView, 34 ExportPDFTranscriptSlip) 35 35 from waeup.kofa.students.workflow import (CREATED, ADMITTED, PAID, 36 36 CLEARANCE, REQUESTED, RETURNING, CLEARED, REGISTERED, VALIDATED, … … 43 43 NigeriaStudentClearanceEditFormPage, 44 44 NigeriaOnlinePaymentAddFormPage, 45 NigeriaExportPDFPaymentSlip Page,46 NigeriaExportPDFClearanceSlip Page,45 NigeriaExportPDFPaymentSlip, 46 NigeriaExportPDFClearanceSlip, 47 47 NigeriaStudentPersonalDisplayFormPage, 48 48 NigeriaStudentPersonalManageFormPage … … 111 111 'p_category') 112 112 113 class CustomExportPDFPaymentSlip Page(NigeriaExportPDFPaymentSlipPage):113 class CustomExportPDFPaymentSlip(NigeriaExportPDFPaymentSlip): 114 114 """Deliver a PDF slip of the context. 115 115 """ … … 121 121 122 122 123 class CustomExportPDFClearanceSlip Page(NigeriaExportPDFClearanceSlipPage):123 class CustomExportPDFClearanceSlip(NigeriaExportPDFClearanceSlip): 124 124 """Deliver a PDF slip of the context. 125 125 """ … … 148 148 149 149 150 class ExportClearanceInvitationSlip Page(UtilityView, grok.View):150 class ExportClearanceInvitationSlip(UtilityView, grok.View): 151 151 """Deliver an invitation letter to physical clearance. 152 152 … … 273 273 grok.template('studylevelpage') 274 274 275 class CustomExportPDFCourseRegistrationSlip Page(276 ExportPDFCourseRegistrationSlip Page):275 class CustomExportPDFCourseRegistrationSlip( 276 ExportPDFCourseRegistrationSlip): 277 277 """Deliver a PDF slip of the context. 278 278 """ … … 336 336 ) 337 337 338 class UnibenExportPDFCourseResultSlip Page(ExportPDFCourseRegistrationSlipPage):338 class UnibenExportPDFCourseResultSlip(ExportPDFCourseRegistrationSlip): 339 339 """Deliver a PDF slip of the context. 340 340 """ … … 408 408 form_fields = grok.AutoFields(ICourseTicket).omit('score') 409 409 410 class CustomStudentActivate Page(StudentActivatePage):410 class CustomStudentActivateView(StudentActivateView): 411 411 """ Activate student account 412 412 """ … … 421 421 return 422 422 423 class CustomStudentDeactivate Page(StudentDeactivatePage):423 class CustomStudentDeactivateView(StudentDeactivateView): 424 424 """ Deactivate student account 425 425 """ … … 433 433 return 434 434 435 class CustomExportPDFTranscript Page(ExportPDFTranscriptPage):435 class CustomExportPDFTranscriptSlip(ExportPDFTranscriptSlip): 436 436 """Deliver a PDF slip of the context. 437 437 """ -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r12855 r13063 791 791 self.app['datacenter'].storage, 'logs', 'students.log') 792 792 logcontent = open(logfile).read() 793 self.assertTrue('zope.mgr - waeup.uniben.students.browser.CustomStudentDeactivate Page- '793 self.assertTrue('zope.mgr - waeup.uniben.students.browser.CustomStudentDeactivateView - ' 794 794 'B1000000 - account deactivated' in logcontent) 795 self.assertTrue('zope.mgr - waeup.uniben.students.browser.CustomStudentActivate Page- '795 self.assertTrue('zope.mgr - waeup.uniben.students.browser.CustomStudentActivateView - ' 796 796 'B1000000 - account activated' in logcontent) 797 797 -
main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py
r12855 r13063 26 26 StudentFileDisplay, StudentFileUpload, StudentImage) 27 27 from waeup.kofa.students.browser import ( 28 ExportPDFClearanceSlip Page, StudyCourseDisplayFormPage,28 ExportPDFClearanceSlip, StudyCourseDisplayFormPage, 29 29 StudyLevelDisplayFormPage, StudentClearanceDisplayFormPage) 30 30 … … 106 106 107 107 class JAMBLetterSlip(JAMBLetterDisplay): 108 grok.view(ExportPDFClearanceSlip Page)108 grok.view(ExportPDFClearanceSlip) 109 109 110 110 class JAMBLetterUpload(StudentFileUpload): … … 134 134 135 135 class SecrCultsStatementSlip(SecrCultsStatementDisplay): 136 grok.view(ExportPDFClearanceSlip Page)136 grok.view(ExportPDFClearanceSlip) 137 137 138 138 class SecrCultsStatementUpload(StudentFileUpload): … … 166 166 Fingerprint minutiae is not printet. 167 167 """ 168 grok.view(ExportPDFClearanceSlip Page)168 grok.view(ExportPDFClearanceSlip) 169 169 170 170 class LeftThumbPrintUpload(StudentFileUpload):
Note: See TracChangeset for help on using the changeset viewer.