- Timestamp:
- 8 Apr 2020, 10:48:10 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser.py
r16017 r16049 43 43 #UG_OMIT_MANAGE_FIELDS, 44 44 #UG_OMIT_EDIT_FIELDS, 45 PG_OMIT_DISPLAY_FIELDS,46 PG_OMIT_PDF_FIELDS,47 PG_OMIT_MANAGE_FIELDS,48 PG_OMIT_EDIT_FIELDS,45 #PG_OMIT_DISPLAY_FIELDS, 46 #PG_OMIT_PDF_FIELDS, 47 #PG_OMIT_MANAGE_FIELDS, 48 #PG_OMIT_EDIT_FIELDS, 49 49 ) 50 50 from kofacustom.iuokada.applicants.interfaces import ( … … 78 78 'aggregate') 79 79 80 # PG has its own interface 81 PG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS 82 PG_OMIT_PDF_FIELDS = PG_OMIT_DISPLAY_FIELDS + ('phone',) 83 PG_OMIT_MANAGE_FIELDS = ( 84 'special_application', 85 'employer', 86 'emp_position', 87 'emp_start', 88 'emp_end', 89 'emp_reason', 90 'employer2', 91 'emp2_position', 92 'emp2_start', 93 'emp2_end', 94 'emp2_reason', 95 ) 96 PG_OMIT_EDIT_FIELDS = PG_OMIT_MANAGE_FIELDS + PG_OMIT_DISPLAY_FIELDS + ( 97 'student_id', 'notice', 98 'screening_score', 'screening_venue', 99 'screening_date',) 100 80 101 class CustomApplicantsContainerPage(ApplicantsContainerPage): 81 102 """The standard view for regular applicant containers. … … 142 163 """An applicant-centered edit view for applicant data. 143 164 """ 165 166 @property 167 def display_refereereports(self): 168 return True 144 169 145 170 def display_fileupload(self, filename):
Note: See TracChangeset for help on using the changeset viewer.