- Timestamp:
- 28 Jun 2016, 17:00:24 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r13996 r13997 33 33 from waeup.kofa.interfaces import IPDF 34 34 from waeup.kofa.applicants.interfaces import IApplicant 35 from waeup.kofa.browser.viewlets import ManageActionButton 35 36 from waeup.aaue.interfaces import MessageFactory as _ 36 37 from kofacustom.nigeria.applicants.browser import ( … … 344 345 grok.template('applicantcheckstatus') 345 346 347 class PaymentReceiptActionButton(ManageActionButton): 348 grok.order(8) # This button should always be the last one. 349 grok.context(ICustomApplicant) 350 grok.view(CustomApplicantDisplayFormPage) 351 grok.require('waeup.viewApplication') 352 icon = 'actionicon_pdf.png' 353 text = _('Download screening invitation letter') 354 target = 'screening_invitation.pdf' 355 356 @property 357 def target_url(self): 358 if not self.context.screening_date: 359 return '' 360 return self.view.url(self.view.context, self.target) 346 361 347 362 class ExportScreeningInvitationLetter(UtilityView, grok.View): … … 349 364 This form page is available only in AAUE. 350 365 """ 351 grok.context(I Applicant)366 grok.context(ICustomApplicant) 352 367 grok.name('screening_invitation.pdf') 353 368 grok.require('waeup.viewApplication') … … 364 379 <br /><br /><br /><br /><font size='12'> 365 380 Dear %s, 366 <br /><br /><br />367 You are invited for your screening exercise on:368 381 <br /><br /> 369 <strong>%s</strong>.382 You are invited for your screening exercise. 370 383 <br /><br /> 371 Please bring along this letter of invitation to the%s384 <strong>Date/Time: %s 372 385 <br /><br /> 373 on your screening date. 374 <br /><br /><br /> 375 Signed, 386 Venue: %s 387 </strong> 376 388 <br /><br /> 377 xyz<br /> 389 Please bring along this letter of invitation on your screening date. 378 390 </font> 379 391
Note: See TracChangeset for help on using the changeset viewer.