Ignore:
Timestamp:
12 Apr 2012, 13:16:56 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove customization of StudentPersonalManageFormPage?

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/etranzact/browser.py

    r8020 r8129  
    109109            return
    110110
    111         if success_dict.get('PAYMENT_CODE') != self.context.p_id:
     111        if success_dict.get('COL1') != self.context.p_id:
    112112            self.flash(_('Wrong transaction id'))
    113113            write_log_message(
  • main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py

    r8108 r8129  
    2222    )
    2323from waeup.kofa.students.browser import (
    24     StudentPersonalDisplayFormPage, StudentPersonalManageFormPage,
     24    StudentPersonalDisplayFormPage,
    2525    StudentClearanceManageFormPage, StudentClearanceEditFormPage,
    2626    StudentClearanceDisplayFormPage, OnlinePaymentCallbackPage,
     
    6969    form_fields['perm_address'].custom_widget = BytesDisplayWidget
    7070
    71 class StudentPersonalManageFormPage(StudentPersonalManageFormPage):
    72     """ Page to edit student clearance data
    73     """
    74     grok.context(IStudent)
    75     form_fields = grok.AutoFields(IStudentPersonal)
    7671
    7772class StudentClearanceDisplayFormPage(StudentClearanceDisplayFormPage):
  • main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py

    r8108 r8129  
    4545    mus = 1024 * 150
    4646    download_name = u'lga_ident'
    47     tab_redirect = '?tab2'
    4847
    4948class LGAIdentificationImage(Image):
     
    7473    mus = 1024 * 150
    7574    download_name = u'fst_sit_scan'
    76     tab_redirect = '?tab2'
    7775
    7876class FirstSittingResultImage(Image):
     
    103101    mus = 1024 * 150
    104102    download_name = u'scd_sit_scan'
    105     tab_redirect = '?tab2'
    106103
    107104class SecondSittingResultImage(Image):
     
    132129    mus = 1024 * 150
    133130    download_name = u'hq_scan'
    134     tab_redirect = '?tab2'
    135131
    136132class HigherQualificationResultImage(Image):
     
    161157    mus = 1024 * 150
    162158    download_name = u'hq_scan2'
    163     tab_redirect = '?tab2'
    164159
    165160class SecondHigherQualificationResultImage(Image):
     
    168163    grok.name('hq_scan2')
    169164    download_name = u'hq_scan2'
     165
     166# Advanced Level Result
     167
     168class AdvancedLevelResultDisplay(FileDisplay):
     169    """Advanced Level Result display viewlet.
     170    """
     171    grok.order(1)
     172    label = _(u'Advanced Level Result')
     173    title = _(u'Advanced Level Result')
     174    download_name = u'alr_scan'
     175
     176class AdvancedLevelResultSlip(AdvancedLevelResultDisplay):
     177    grok.view(ExportPDFClearanceSlipPage)
     178
     179class AdvancedLevelResultUpload(FileUpload):
     180    """Advanced Level Result upload viewlet.
     181    """
     182    grok.order(2)
     183    label = _(u'Advanced Level Result')
     184    title = _(u'Advanced Level Result Scan')
     185    mus = 1024 * 150
     186    download_name = u'alr_scan'
     187
     188class AdvancedLevelResultImage(Image):
     189    """Renders Advanced Level Result scan.
     190    """
     191    grok.name('alr_scan')
     192    download_name = u'alr_scan'
     193
     194# Certificate
     195
     196class CertificateDisplay(FileDisplay):
     197    """Certificate display viewlet.
     198    """
     199    grok.order(1)
     200    label = _(u'Certificate')
     201    title = _(u'Certificate')
     202    download_name = u'certificate'
     203
     204class CertificateSlip(CertificateDisplay):
     205    grok.view(ExportPDFClearanceSlipPage)
     206
     207class CertificateUpload(FileUpload):
     208    """Certificate upload viewlet.
     209    """
     210    grok.order(2)
     211    label = _(u'Certificate')
     212    title = _(u'Certificate Scan')
     213    mus = 1024 * 150
     214    download_name = u'certificate'
     215
     216class CertificateImage(Image):
     217    """Renders Certificate scan.
     218    """
     219    grok.name('certificate')
     220    download_name = u'certificate'
     221
     222# Second Certificate
     223
     224class SecondCertificateDisplay(FileDisplay):
     225    """ Second Certificate display viewlet.
     226    """
     227    grok.order(1)
     228    label = _(u'Second Certificate')
     229    title = _(u'Second Certificate')
     230    download_name = u'certificate2'
     231
     232class SecondCertificateSlip(SecondCertificateDisplay):
     233    grok.view(ExportPDFClearanceSlipPage)
     234
     235class SecondCertificateUpload(FileUpload):
     236    """Second Certificate upload viewlet.
     237    """
     238    grok.order(2)
     239    label = _(u'Second Certificate')
     240    title = _(u'Second Certificate Scan')
     241    mus = 1024 * 150
     242    download_name = u'certificate2'
     243
     244class CertificateImage(Image):
     245    """Renders Second Certificate scan.
     246    """
     247    grok.name('certificate2')
     248    download_name = u'certificate2'
     249
     250# Third Certificate
     251
     252class ThirdCertificateDisplay(FileDisplay):
     253    """ Third Certificate display viewlet.
     254    """
     255    grok.order(1)
     256    label = _(u'Third Certificate')
     257    title = _(u'Third Certificate')
     258    download_name = u'certificate3'
     259
     260class ThirdCertificateSlip(ThirdCertificateDisplay):
     261    grok.view(ExportPDFClearanceSlipPage)
     262
     263class ThirdCertificateUpload(FileUpload):
     264    """Third Certificate upload viewlet.
     265    """
     266    grok.order(2)
     267    label = _(u'Third Certificate')
     268    title = _(u'Third Certificate Scan')
     269    mus = 1024 * 150
     270    download_name = u'certificate3'
     271
     272class CertificateImage(Image):
     273    """Renders Third Certificate scan.
     274    """
     275    grok.name('certificate3')
     276    download_name = u'certificate3'
    170277
    171278# Evidence of Name
     
    190297    mus = 1024 * 150
    191298    download_name = u'evid'
    192     tab_redirect = '?tab2'
    193299
    194300class EvidenceOfNameImage(Image):
Note: See TracChangeset for help on using the changeset viewer.