applicants.browser - Applicants UI Components

UI components for basic applicants and related components.

class waeup.kofa.applicants.browser.AdditionalFile(context, request)[source]

Bases: grok.components.View

Renders additional files for applicants. This is a baseclass.

__doc__ = 'Renders additional files for applicants.\n This is a baseclass.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
class waeup.kofa.applicants.browser.ApplicantAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add-form to add an applicant.

__doc__ = 'Add-form to add an applicant.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
addApplicant
form_fields = <zope.formlib.form.FormFields object>
label = u'Add applicant'
pnav = 3
class waeup.kofa.applicants.browser.ApplicantBaseDisplayFormPage(context, request)[source]

Bases: waeup.kofa.applicants.browser.ApplicantDisplayFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
form_fields
class waeup.kofa.applicants.browser.ApplicantBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for applicants.

__doc__ = 'A breadcrumb for applicants.\n '
__module__ = 'waeup.kofa.applicants.browser'
title

Get a title for a context.

class waeup.kofa.applicants.browser.ApplicantCheckStatusPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Captcha’d status checking page for applicants.

__doc__ = "Captcha'd status checking page for applicants.\n "
__module__ = 'waeup.kofa.applicants.browser'
buttonname = u'Submit'
label()[source]
pnav = 7
update(SUBMIT=None)[source]
class waeup.kofa.applicants.browser.ApplicantDisplayFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

A display view for applicant data.

__doc__ = 'A display view for applicant data.\n '
__module__ = 'waeup.kofa.applicants.browser'
display_payments
display_refereereports
form_fields
getCourseAdmitted()[source]

Return link, title and code in html format to the certificate admitted.

hasPassword
hide_hint = False
label
pnav = 3
separators
target
update()[source]
class waeup.kofa.applicants.browser.ApplicantEditFormPage(context, request)[source]

Bases: waeup.kofa.applicants.browser.ApplicantManageFormPage

An applicant-centered edit view for applicant data.

__doc__ = 'An applicant-centered edit view for applicant data.\n '
__module__ = 'waeup.kofa.applicants.browser'
_finalsubmit_msg
actions
addBalancePaymentTicket
addPaymentTicket
dataNotComplete(data)[source]
display_actions
display_refereereports
emit_lock_message()[source]
finalsubmit
form_fields
informReferees()[source]
manage_applications = False
mandate_days = 31
picture_editable
removePaymentTickets
save
submit_state = 'paid'
unremovable(ticket)[source]
update()[source]
class waeup.kofa.applicants.browser.ApplicantManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

A full edit view for applicant data.

__doc__ = 'A full edit view for applicant data.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
addBalancePaymentTicket
addPaymentTicket
custom_upload_requirements
delPaymentTickets(**data)[source]
display_actions
display_fileupload(filename)[source]

This method can be used in custom packages to avoid unneccessary file uploads.

display_payments
display_refereereports
file_exists(attr)[source]
form_fields
getTransitions()[source]

Return a list of dicts of allowed transition ids and titles.

Each list entry provides keys name and title for internal name and (human readable) title of a single transition.

label
manage_applications = True
picture_editable
pnav = 3
removePaymentTickets
save
saveCourses()[source]

In custom packages we needed to customize the certificate select widget. We just save course1 and course2 if these customized fields appear in the form.

separators
target
unremovable(ticket)[source]
update()[source]
class waeup.kofa.applicants.browser.ApplicantRegistrationEmailSent(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Landing page after successful registration.

__doc__ = 'Landing page after successful registration.\n\n '
__module__ = 'waeup.kofa.applicants.browser'
label = u'Your registration was successful.'
update(email=None, applicant_id=None, password=None)[source]
class waeup.kofa.applicants.browser.ApplicantRegistrationPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Captcha’d registration page for applicants.

__doc__ = "Captcha'd registration page for applicants.\n "
__module__ = 'waeup.kofa.applicants.browser'
_postfix

In customized packages we can add a container dependent string if applicants have been imported into several containers.

_redirect(email, password, applicant_id)[source]
actions
form_fields
label
register
update()[source]
class waeup.kofa.applicants.browser.ApplicantsContainerAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
actions
addApplicantsContainer
cancel
form_fields = <zope.formlib.form.FormFields object>
label = u'Add applicants container'
pnav = 3
class waeup.kofa.applicants.browser.ApplicantsContainerBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for applicantscontainers.

__doc__ = 'A breadcrumb for applicantscontainers.\n '
__module__ = 'waeup.kofa.applicants.browser'
class waeup.kofa.applicants.browser.ApplicantsContainerManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
actions
addLocalRole
cancel
createStudents
delApplicant
delLocalRoles
form_fields = <zope.formlib.form.FormFields object>
getLocalRoles()[source]
getUsers()[source]
getUsersWithLocalRoles()[source]
label
max_applicants = 2000
pnav = 3
save
showApplicants
taboneactions = [u'Save', u'Cancel']
tabthreeactions1 = [u'Remove selected local roles']
tabthreeactions2 = [u'Add local role']
tabtwoactions = [u'Remove selected', u'Cancel', u'Create students from selected']
class waeup.kofa.applicants.browser.ApplicantsContainerPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

The standard view for regular applicant containers.

__doc__ = 'The standard view for regular applicant containers.\n '
__module__ = 'waeup.kofa.applicants.browser'
form_fields
introduction
label
pnav = 3
class waeup.kofa.applicants.browser.ApplicantsContainerPrefillFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Form to pre-fill applicants containers.

__doc__ = 'Form to pre-fill applicants containers.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
addApplicants
cancel
label = u'Pre-fill container'
pnav = 3
update()[source]
class waeup.kofa.applicants.browser.ApplicantsContainerPurgeFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

Form to purge applicants containers.

__doc__ = 'Form to purge applicants containers.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
cancel
label = u'Purge container'
pnav = 3
purgeInitialized
class waeup.kofa.applicants.browser.ApplicantsExportsBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for exports.

__doc__ = 'A breadcrumb for exports.\n '
__module__ = 'waeup.kofa.applicants.browser'
target = None
title = u'Applicant Data Exports'
class waeup.kofa.applicants.browser.ApplicantsRootBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for applicantsroot.

__doc__ = 'A breadcrumb for applicantsroot.\n '
__module__ = 'waeup.kofa.applicants.browser'
title = u'Applicants'
class waeup.kofa.applicants.browser.ApplicantsRootManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
actions
addApplicantsContainer
addLocalRole
delApplicantsContainers
delLocalRoles
form_fields = <zope.formlib.form.FormFields object>
getLocalRoles()[source]
getUsers()[source]
getUsersWithLocalRoles()[source]
label = u'Manage applicants section'
pnav = 3
save
subunits = u'Applicants Containers'
taboneactions = [u'Save']
tabthreeactions1 = [u'Remove selected local roles']
tabthreeactions2 = [u'Add local role']
tabtwoactions = [u'Add applicants container', u'Remove selected']
class waeup.kofa.applicants.browser.ApplicantsRootPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
containers
form_fields = <zope.formlib.form.FormFields object>
introduction
label = u'Applicants Section'
pnav = 3
update()[source]
class waeup.kofa.applicants.browser.ApplicantsSearchPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
label = u'Find applicants'
pnav = 3
search_button = u'Find applicant'
update(*args, **kw)[source]
class waeup.kofa.applicants.browser.ApplicantsStatisticsPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

Some statistics about applicants in a container.

__doc__ = 'Some statistics about applicants in a container.\n '
__module__ = 'waeup.kofa.applicants.browser'
label
class waeup.kofa.applicants.browser.ApplicationFeePaymentAddPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Page to add an online payment ticket

__doc__ = ' Page to add an online payment ticket\n '
__module__ = 'waeup.kofa.applicants.browser'
custom_requirements
factory = u'waeup.ApplicantOnlinePayment'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.BalancePaymentAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Page to add an online payment which can balance s previous session payment.

__doc__ = ' Page to add an online payment which can balance s previous session\n payment.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
cancel
createTicket
form_fields = <zope.formlib.form.FormFields object>
label = u'Add balance'
selectable_payment_options
class waeup.kofa.applicants.browser.CheckTranscriptStatus(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

A display page for checking transcript processing status.

__doc__ = 'A display page for checking transcript processing status.\n '
__module__ = 'waeup.kofa.applicants.browser'
appl_url1 = 'https://kofa-demo.waeup.org/applicants'
appl_url2 = 'https://kofa-demo.waeup.org/applicants'
buttonname = u'Check status now'
label = u'Check transcript status'
pnav = 8
update(SUBMIT=None)[source]
websites = (('DemoPortal', 'https://kofa-demo.waeup.org/'),)
class waeup.kofa.applicants.browser.ContactApplicantFormPage(context, request)[source]

Bases: waeup.kofa.students.browser.ContactStudentFormPage

__doc__ = None
__module__ = 'waeup.kofa.applicants.browser'
pnav = 3
class waeup.kofa.applicants.browser.CreateAllStudentsPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Create all student objects from applicant data in the root container or in a specific applicants container only. Only PortalManagers or StudentCreators can do this.

__doc__ = 'Create all student objects from applicant data\n in the root container or in a specific applicants container only.\n Only PortalManagers or StudentCreators can do this.\n '
__module__ = 'waeup.kofa.applicants.browser'
label = u'Student Record Creation Report'
update()[source]
class waeup.kofa.applicants.browser.CreateStudentPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Create a student object from applicant data.

__doc__ = 'Create a student object from applicant data.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.ExportJobContainerDownload(context, request)[source]

Bases: waeup.kofa.browser.pages.ExportCSVView

Page that downloads a students export csv file.

__doc__ = 'Page that downloads a students export csv file.\n\n '
__module__ = 'waeup.kofa.applicants.browser'
class waeup.kofa.applicants.browser.ExportJobContainerJobStart(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

View that starts three export jobs, one for applicants, a second one for applicant payments and a third for referee reports.

EXPORTER_LIST = ('applicants', 'applicantpayments', 'applicantrefereereports')
__doc__ = 'View that starts three export jobs, one for applicants, a second\n one for applicant payments and a third for referee reports.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.ExportJobContainerOverview(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Page that lists active applicant data export jobs and provides links to discard or download CSV files.

__doc__ = 'Page that lists active applicant data export jobs and provides links\n to discard or download CSV files.\n\n '
__module__ = 'waeup.kofa.applicants.browser'
label = u'Data Exports'
pnav = 3
update(CREATE=None, DISCARD=None, job_id=None)[source]
class waeup.kofa.applicants.browser.ExportPDFPageApplicationSlip(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Deliver a PDF slip of the context.

__doc__ = 'Deliver a PDF slip of the context.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.ExportPDFPaymentSlipPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Deliver a PDF slip of the context.

__doc__ = 'Deliver a PDF slip of the context.\n '
__module__ = 'waeup.kofa.applicants.browser'
form_fields = <zope.formlib.form.FormFields object>
label
note = None
payment_slip_download_warning
render()[source]
title
class waeup.kofa.applicants.browser.ExportPDFReportSlipPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Deliver a PDF slip of the context.

__doc__ = 'Deliver a PDF slip of the context.\n '
__module__ = 'waeup.kofa.applicants.browser'
form_fields = <zope.formlib.form.FormFields object>
label
note = None
render()[source]
title
class waeup.kofa.applicants.browser.ExportPDFReportSlipPage2(context, request)[source]

Bases: waeup.kofa.applicants.browser.ExportPDFReportSlipPage

Deliver a PDF slip of the context to referees.

__doc__ = 'Deliver a PDF slip of the context to referees.\n '
__module__ = 'waeup.kofa.applicants.browser'
update()[source]
class waeup.kofa.applicants.browser.OnlinePaymentApprovePage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Approval view

__doc__ = ' Approval view\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.OnlinePaymentBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for payments.

__doc__ = 'A breadcrumb for payments.\n '
__module__ = 'waeup.kofa.applicants.browser'
title
class waeup.kofa.applicants.browser.OnlinePaymentDisplayFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

Page to view an online payment ticket

__doc__ = ' Page to view an online payment ticket\n '
__module__ = 'waeup.kofa.applicants.browser'
form_fields = <zope.formlib.form.FormFields object>
label
pnav = 3
class waeup.kofa.applicants.browser.PassportImage(context, request)[source]

Bases: grok.components.View

Renders the passport image for applicants.

__doc__ = 'Renders the passport image for applicants.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
class waeup.kofa.applicants.browser.PassportImageForReport(context, request)[source]

Bases: waeup.kofa.applicants.browser.PassportImage

Renders the passport image for applicants for referee reports.

__doc__ = 'Renders the passport image for applicants for referee reports.\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
class waeup.kofa.applicants.browser.RefereeReportAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add-form to add an referee report. This form is protected by a mandate.

__doc__ = 'Add-form to add an referee report. This form\n is protected by a mandate.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
addRefereeReport
form_fields = <zope.formlib.form.FormFields object>
label = u'Referee Report Form'
pnav = 3
update()[source]
class waeup.kofa.applicants.browser.RefereeReportBreadcrumb(context)[source]

Bases: waeup.kofa.browser.breadcrumbs.Breadcrumb

A breadcrumb for referee reports.

__doc__ = 'A breadcrumb for referee reports.\n '
__module__ = 'waeup.kofa.applicants.browser'
title
class waeup.kofa.applicants.browser.RefereeReportDisplayFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

A display view for referee reports.

__doc__ = 'A display view for referee reports.\n '
__module__ = 'waeup.kofa.applicants.browser'
form_fields = <zope.formlib.form.FormFields object>
label = u'Referee Report'
pnav = 3
class waeup.kofa.applicants.browser.RefereeReportManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

A displaymanage for referee reports.

__doc__ = 'A displaymanage for referee reports.\n '
__module__ = 'waeup.kofa.applicants.browser'
actions
form_fields = <zope.formlib.form.FormFields object>
label = u'Manage Referee Report'
pnav = 3
save
class waeup.kofa.applicants.browser.RefereesRemindPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

A display view for referee reports.

__doc__ = 'A display view for referee reports.\n '
__module__ = 'waeup.kofa.applicants.browser'
mandate_days = 31
remindReferees()[source]
render()[source]
update()[source]
class waeup.kofa.applicants.browser.RemoveRefereeReportPage(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

__doc__ = '\n '
__module__ = 'waeup.kofa.applicants.browser'
render()[source]
update()[source]
class waeup.kofa.applicants.browser.TestFile(context, request)[source]

Bases: waeup.kofa.applicants.browser.AdditionalFile

Renders testfile.

__doc__ = 'Renders testfile.\n '
__module__ = 'waeup.kofa.applicants.browser'
waeup.kofa.applicants.browser.handle_file_upload(upload, context, view, attr=None)[source]

Handle upload of applicant files.

Returns True in case of success or False.

Please note that file pointer passed in (upload) most probably points to end of file when leaving this function.

waeup.kofa.applicants.browser.handle_img_upload(upload, context, view)[source]

Handle upload of applicant image.

Returns True in case of success or False.

Please note that file pointer passed in (upload) most probably points to end of file when leaving this function.