Ignore:
Timestamp:
28 Jul 2022, 20:34:46 (2 years ago)
Author:
Henrik Bettermann
Message:

Testimonial and not eligibilty form.

Location:
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/browser.py

    r17041 r17043  
    188188            and not self.target.startswith('tsc'):
    189189            return False
    190         if filename[1] == 'eligibility' \
     190        if filename[1] == 'testimonial' \
    191191            and self.target is not None \
    192192            and not self.target.startswith('tsc'):
     
    225225            and not self.target.startswith('tsc'):
    226226            return False
    227         if filename[1] == 'eligibility' \
     227        if filename[1] == 'testimonial' \
    228228            and self.target is not None \
    229229            and not self.target.startswith('tsc'):
     
    263263        #if self.target is not None \
    264264        #    and self.target.startswith('tsc') \
    265         #    and not store.getFileByContext(self.context, attr=u'eligibility.pdf'):
    266         #    return _('No eligibility form pdf file uploaded.')
     265        #    and not store.getFileByContext(self.context, attr=u'testimonial.pdf'):
     266        #    return _('No testimonial pdf file uploaded.')
    267267        return False
    268268
     
    270270    grok.name('res_stat')
    271271
    272 class EligibilityForm(AdditionalFile):
    273     grok.name('eligibility')       
     272class TestimonialForm(AdditionalFile):
     273    grok.name('testimonial')       
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/utils.py

    r17041 r17043  
    3333
    3434    ADDITIONAL_FILES = (
    35                  ('Eligibility Form','eligibility'),
     35                 ('Testimonial','testimonial'),
    3636                 ('Statement of Result','res_stat'),
    3737                 )
Note: See TracChangeset for help on using the changeset viewer.