Ignore:
Timestamp:
10 Sep 2020, 07:22:19 (4 years ago)
Author:
Henrik Bettermann
Message:

Implement ContactApplicantFormPage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py

    r16214 r16231  
    242242    grok.require('waeup.viewApplication')
    243243    grok.name('pdfactionbutton')
     244    grok.view(ApplicantDisplayFormPage)
    244245    icon = 'actionicon_pdf.png'
    245246    text = _('Download application slip')
     
    275276    grok.context(IApplicant)
    276277    grok.require('waeup.manageApplication')
     278    grok.view(ApplicantDisplayFormPage)
    277279    icon = 'actionicon_alarm.png'
    278280    text = _('Remind referees')
     
    293295            return
    294296        return self.view.url(self.view.context, self.target)
     297
     298class ContactActionButton(ManageActionButton):
     299    grok.order(6)
     300    grok.context(IApplicant)
     301    grok.view(ApplicantDisplayFormPage)
     302    grok.require('waeup.viewApplication')
     303    icon = 'actionicon_mail.png'
     304    text = _('Send email')
     305    target = 'contactapplicant'
    295306
    296307class PaymentReceiptActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.