Changeset 184
- Timestamp:
- 17 Nov 2005, 06:28:41 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r182 r184 288 288 'visible' : 0, 289 289 }, 290 {'id' : 'eligibility', 291 'name' : 'Post-Primary Results', 290 { 291 'id' : 'PERSONAL', 292 'name' : 'Personal Data', 293 'action' : 'string:${object/absolute_url}/PERSONAL', 294 'condition': "python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)", 295 'permission': (ModifyPortalContent,) 296 }, 297 { 298 'id' : 'eligibility', 299 'name' : 'Eligibility Data', 292 300 'action' : 'eligibility', 293 301 'condition': 'object/memberIsOwner', 294 302 'permission': (ModifyPortalContent,), 295 303 'visible': True, 296 },297 {'id' : 'JAMB',298 'name' : 'JAMB Data',299 'action' : 'string:${object/absolute_url}/JAMB',300 'condition': 'python:object.getContent().memberIsOwner()',301 'permission': (ModifyPortalContent,),302 'visible': False,303 304 }, 304 305 { … … 307 308 'action' : 'string:${object/absolute_url}/DOCUMENTS', 308 309 'condition': "python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)", 309 'permission': (ModifyPortalContent,)}, 310 { 311 'id' : 'PERSONAL', 312 'name' : 'Personal Data', 313 'action' : 'string:${object/absolute_url}/PERSONAL', 314 'condition': "python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)", 315 'permission': (ModifyPortalContent,)}, 310 'permission': (ModifyPortalContent,) 311 }, 316 312 { 317 313 'id' : 'register_study_level', … … 319 315 'action' : 'string:${object/absolute_url}/register_level', 320 316 'condition': 'python: object.getContent().memberIsOwner() and not object.getContent().isRegisteredForCurrentLevel()', 321 'permission': (ModifyPortalContent,)}, 317 'permission': (ModifyPortalContent,) 318 }, 322 319 { 323 320 'id' : 'book_accomodation', … … 325 322 'action' : 'string:${object/absolute_url}/book_accommodation', 326 323 'condition': 'python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsBooked()', 327 'permission': (ModifyPortalContent,)}, 324 'permission': (ModifyPortalContent,) 325 }, 328 326 { 329 327 'id' : 'pay_hostel_fee', … … 331 329 'action' : 'string:${object/absolute_url}/pay_hostel_fee', 332 330 'condition': 'python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsPayed()', 333 'permission': (ModifyPortalContent,)}, 331 'permission': (ModifyPortalContent,) 332 }, 333 { 334 'id' : 'JAMB', 335 'name' : '(JAMB Data)', 336 'action' : 'string:${object/absolute_url}/JAMB', 337 'condition': 'python:object.getContent().memberIsOwner()', 338 'permission': (ModifyPortalContent,), 339 'visible': True, 340 }, 334 341 ) 335 342 }###)
Note: See TracChangeset for help on using the changeset viewer.