- Timestamp:
- 28 Jul 2022, 20:34:46 (2 years ago)
- 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 188 188 and not self.target.startswith('tsc'): 189 189 return False 190 if filename[1] == ' eligibility' \190 if filename[1] == 'testimonial' \ 191 191 and self.target is not None \ 192 192 and not self.target.startswith('tsc'): … … 225 225 and not self.target.startswith('tsc'): 226 226 return False 227 if filename[1] == ' eligibility' \227 if filename[1] == 'testimonial' \ 228 228 and self.target is not None \ 229 229 and not self.target.startswith('tsc'): … … 263 263 #if self.target is not None \ 264 264 # and self.target.startswith('tsc') \ 265 # and not store.getFileByContext(self.context, attr=u' eligibility.pdf'):266 # return _('No eligibility formpdf file uploaded.')265 # and not store.getFileByContext(self.context, attr=u'testimonial.pdf'): 266 # return _('No testimonial pdf file uploaded.') 267 267 return False 268 268 … … 270 270 grok.name('res_stat') 271 271 272 class EligibilityForm(AdditionalFile):273 grok.name(' eligibility')272 class TestimonialForm(AdditionalFile): 273 grok.name('testimonial') -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/utils.py
r17041 r17043 33 33 34 34 ADDITIONAL_FILES = ( 35 (' Eligibility Form','eligibility'),35 ('Testimonial','testimonial'), 36 36 ('Statement of Result','res_stat'), 37 37 )
Note: See TracChangeset for help on using the changeset viewer.