Changeset 13058


Ignore:
Timestamp:
16 Jun 2015, 11:57:31 (9 years ago)
Author:
Henrik Bettermann
Message:

Rename views according to changes in base package.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py

    r12120 r13058  
    2626    StudentPersonalDisplayFormPage, StudentPersonalManageFormPage,
    2727    StudentClearanceManageFormPage, StudentClearanceEditFormPage,
    28     StudentClearanceDisplayFormPage, OnlinePaymentFakeApprovePage,
    29     ExportPDFClearanceSlipPage, StudentBaseManageFormPage,
     28    StudentClearanceDisplayFormPage, OnlinePaymentFakeApproveView,
     29    ExportPDFClearanceSlip, StudentBaseManageFormPage,
    3030    StudentBaseDisplayFormPage,
    3131    StudentBaseEditFormPage, StudentPersonalEditFormPage,
    3232    OnlinePaymentDisplayFormPage, OnlinePaymentAddFormPage,
    33     OnlinePaymentBreadcrumb, ExportPDFPaymentSlipPage,
    34     ExportPDFCourseRegistrationSlipPage,
    35     ExportPDFBedTicketSlipPage,
     33    OnlinePaymentBreadcrumb, ExportPDFPaymentSlip,
     34    ExportPDFCourseRegistrationSlip,
     35    ExportPDFBedTicketSlip,
    3636    StudentFilesUploadPage, emit_lock_message)
    3737from waeup.kofa.students.interfaces import IStudentsUtils
     
    114114        return form_fields
    115115
    116 class NigeriaExportPDFClearanceSlipPage(ExportPDFClearanceSlipPage):
     116class NigeriaExportPDFClearanceSlip(ExportPDFClearanceSlip):
    117117    """Deliver a PDF slip of the context.
    118118    """
     
    162162        return form_fields
    163163
    164 class NigeriaExportPDFCourseRegistrationSlipPage(ExportPDFCourseRegistrationSlipPage):
     164class NigeriaExportPDFCourseRegistrationSlip(ExportPDFCourseRegistrationSlip):
    165165    """Deliver a PDF slip of the context.
    166166    """
     
    185185        'p_category')
    186186
    187 class NigeriaOnlinePaymentFakeApprovePage(OnlinePaymentFakeApprovePage):
     187class NigeriaOnlinePaymentFakeApproveView(OnlinePaymentFakeApproveView):
    188188    """ Disable payment approval view for students.
    189189
     
    197197        return
    198198
    199 class NigeriaExportPDFPaymentSlipPage(ExportPDFPaymentSlipPage):
     199class NigeriaExportPDFPaymentSlip(ExportPDFPaymentSlip):
    200200    """Deliver a PDF slip of the context.
    201201    """
     
    208208        'adm_code', 'sex', 'email', 'date_of_birth', 'current_level')
    209209
    210 class NigeriaExportPDFBedTicketSlipPage(ExportPDFBedTicketSlipPage):
     210class NigeriaExportPDFBedTicketSlip(ExportPDFBedTicketSlip):
    211211    """Deliver a PDF slip of the context.
    212212    """
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/viewlets.py

    r12449 r13058  
    2222from waeup.kofa.students.fileviewlets import (
    2323    StudentFileDisplay, StudentFileUpload, StudentImage)
    24 from waeup.kofa.students.browser import ExportPDFClearanceSlipPage
     24from waeup.kofa.students.browser import ExportPDFClearanceSlip
    2525
    2626from kofacustom.nigeria.interfaces import MessageFactory as _
     
    4646
    4747class AcceptanceLetterSlip(AcceptanceLetterDisplay):
    48     grok.view(ExportPDFClearanceSlipPage)
     48    grok.view(ExportPDFClearanceSlip)
    4949
    5050class AcceptanceLetterUpload(StudentFileUpload):
     
    7575
    7676class LGAIdentificationSlip(LGAIdentificationDisplay):
    77     grok.view(ExportPDFClearanceSlipPage)
     77    grok.view(ExportPDFClearanceSlip)
    7878
    7979class LGAIdentificationUpload(StudentFileUpload):
     
    103103
    104104class FirstSittingResultSlip(FirstSittingResultDisplay):
    105     grok.view(ExportPDFClearanceSlipPage)
     105    grok.view(ExportPDFClearanceSlip)
    106106
    107107class FirstSittingResultUpload(StudentFileUpload):
     
    131131
    132132class SecondSittingResultSlip(SecondSittingResultDisplay):
    133     grok.view(ExportPDFClearanceSlipPage)
     133    grok.view(ExportPDFClearanceSlip)
    134134
    135135class SecondSittingResultUpload(StudentFileUpload):
     
    159159
    160160class HigherQualificationResultSlip(HigherQualificationResultDisplay):
    161     grok.view(ExportPDFClearanceSlipPage)
     161    grok.view(ExportPDFClearanceSlip)
    162162
    163163class HigherQualificationResultUpload(StudentFileUpload):
     
    187187
    188188class SecondHigherQualificationResultSlip(SecondHigherQualificationResultDisplay):
    189     grok.view(ExportPDFClearanceSlipPage)
     189    grok.view(ExportPDFClearanceSlip)
    190190
    191191class SecondHigherQualificationResultUpload(StudentFileUpload):
     
    219219
    220220class AdvancedLevelResultSlip(AdvancedLevelResultDisplay):
    221     grok.view(ExportPDFClearanceSlipPage)
     221    grok.view(ExportPDFClearanceSlip)
    222222
    223223class AdvancedLevelResultUpload(StudentFileUpload):
     
    247247
    248248class CertificateSlip(CertificateDisplay):
    249     grok.view(ExportPDFClearanceSlipPage)
     249    grok.view(ExportPDFClearanceSlip)
    250250
    251251class CertificateUpload(StudentFileUpload):
     
    275275
    276276class SecondCertificateSlip(SecondCertificateDisplay):
    277     grok.view(ExportPDFClearanceSlipPage)
     277    grok.view(ExportPDFClearanceSlip)
    278278
    279279class SecondCertificateUpload(StudentFileUpload):
     
    307307
    308308class ThirdCertificateSlip(ThirdCertificateDisplay):
    309     grok.view(ExportPDFClearanceSlipPage)
     309    grok.view(ExportPDFClearanceSlip)
    310310
    311311class ThirdCertificateUpload(StudentFileUpload):
     
    339339
    340340class EvidenceNameSlip(EvidenceNameDisplay):
    341     grok.view(ExportPDFClearanceSlipPage)
     341    grok.view(ExportPDFClearanceSlip)
    342342
    343343class EvidenceNameUpload(StudentFileUpload):
     
    367367
    368368class ResultStatementSlip(ResultStatementDisplay):
    369     grok.view(ExportPDFClearanceSlipPage)
     369    grok.view(ExportPDFClearanceSlip)
    370370
    371371class ResultStatementUpload(StudentFileUpload):
     
    395395
    396396class RefereeLetterSlip(RefereeLetterDisplay):
    397     grok.view(ExportPDFClearanceSlipPage)
     397    grok.view(ExportPDFClearanceSlip)
    398398
    399399class RefereeLetterUpload(StudentFileUpload):
     
    423423
    424424class SecondRefereeLetterSlip(SecondRefereeLetterDisplay):
    425     grok.view(ExportPDFClearanceSlipPage)
     425    grok.view(ExportPDFClearanceSlip)
    426426
    427427class SecondRefereeLetterUpload(StudentFileUpload):
     
    455455
    456456class ThirdRefereeLetterSlip(ThirdRefereeLetterDisplay):
    457     grok.view(ExportPDFClearanceSlipPage)
     457    grok.view(ExportPDFClearanceSlip)
    458458
    459459class ThirdRefereeLetterUpload(StudentFileUpload):
     
    487487
    488488class StatutoryDeclarationSlip(StatutoryDeclarationDisplay):
    489     grok.view(ExportPDFClearanceSlipPage)
     489    grok.view(ExportPDFClearanceSlip)
    490490
    491491class StatutoryDeclarationUpload(StudentFileUpload):
     
    515515
    516516class LetterAdmissionSlip(LetterAdmissionDisplay):
    517     grok.view(ExportPDFClearanceSlipPage)
     517    grok.view(ExportPDFClearanceSlip)
    518518
    519519class LetterAdmissionUpload(StudentFileUpload):
Note: See TracChangeset for help on using the changeset viewer.