Changeset 16683
- Timestamp:
- 18 Oct 2021, 20:36:54 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r16588 r16683 413 413 return _('You are not entitled to upload passport pictures.') 414 414 415 def display_fileupload(self, filename): 416 if filename[1] == 'res_stat' \ 417 and self.target is not None \ 418 and not self.target.startswith('tsc'): 419 return False 420 if filename[1] == 'eligibility' \ 421 and self.target is not None \ 422 and not self.target.startswith('tsc'): 423 return False 424 return True 425 415 426 @property 416 427 def label(self): … … 562 573 563 574 def display_fileupload(self, filename): 564 if filename[1] == 'res_stat .pdf' \575 if filename[1] == 'res_stat' \ 565 576 and self.target is not None \ 566 577 and not self.target.startswith('tsc'): 567 578 return False 568 if filename[1] == 'eligibility .pdf' \579 if filename[1] == 'eligibility' \ 569 580 and self.target is not None \ 570 581 and not self.target.startswith('tsc'):
Note: See TracChangeset for help on using the changeset viewer.