Ignore:
Timestamp:
12 Jun 2020, 06:39:04 (5 years ago)
Author:
Henrik Bettermann
Message:

Customize CheckTranscriptStatus? for demonstration purposes.

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

Legend:

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

    r16078 r16117  
    3232    OnlinePaymentApprovePage,
    3333    ExportPDFPageApplicationSlip,
    34     ApplicantBaseDisplayFormPage)
     34    ApplicantBaseDisplayFormPage,
     35    CheckTranscriptStatus)
    3536from waeup.kofa.students.interfaces import IStudentsUtils
    3637from waeup.kofa.applicants.interfaces import (
     
    694695        return students_utils.renderPDF(self,'screening_invitation_slip.pdf',
    695696            self.context, applicantview, note=self.note)
     697
     698class CustomCheckTranscriptStatus(CheckTranscriptStatus):
     699    """A display page for checking transcript processing status.
     700    """
     701    websites = (('Uniben Alumni Portal', 'https://uniben-alumni.waeup.org'),
     702                ('Uniben Student Portal', 'https://uniben.waeup.org'),)
     703    appl_url1 = 'https://uniben-alumni.waeup.org/documents/transcript/display'
     704    appl_url2 = 'https://uniben-alumni.waeup.org/documents/transcript/display'
  • main/waeup.uniben/trunk/src/waeup/uniben/browser/viewlets.py

    r16101 r16117  
    3434    grok.require('waeup.Anonymous')
    3535    tab_title = _(u'Request Transcript')
    36     pnav = 6
     36    pnav = 8
    3737
    3838    # Also zope.manager has role Anonymous.
     
    4343            if 'cdl' in self.view.application_url():
    4444                return
    45             return 'https://uniben-alumni.waeup.org/documents/transcript/display'
     45            return self.view.application_url() + '/applicants/checktranscript'
    4646        return
    4747
Note: See TracChangeset for help on using the changeset viewer.