Changeset 16051 for main/kofacustom.iuokada
- Timestamp:
- 8 Apr 2020, 19:20:21 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser.py
r16049 r16051 147 147 148 148 @property 149 def display_refereereports(self): 150 if self.context.refereereports: 151 return True 152 return False 153 154 @property 149 155 def form_fields(self): 150 156 if self.target is not None and self.target.startswith('pg'): … … 166 172 @property 167 173 def display_refereereports(self): 168 return True 174 if self.context.refereereports: 175 return True 176 return False 169 177 170 178 def display_fileupload(self, filename): … … 172 180 if self.context.subtype != 'transfer': 173 181 return False 182 if filename[1] == 'jamb.pdf' \ 183 and self.target is not None \ 184 and self.target.startswith('pg'): 185 return False 174 186 return True 175 187
Note: See TracChangeset for help on using the changeset viewer.