Ignore:
Timestamp:
17 Nov 2005, 06:28:41 (19 years ago)
Author:
Henrik Bettermann
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py

    r182 r184  
    288288          'visible' : 0,
    289289          },
    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',
    292300          'action'    : 'eligibility',
    293301          'condition':  'object/memberIsOwner',
    294302          'permission': (ModifyPortalContent,),
    295303          '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,
    303304          },
    304305          {
     
    307308          'action'    : 'string:${object/absolute_url}/DOCUMENTS',
    308309          '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          },
    316312          {
    317313          'id'        : 'register_study_level',
     
    319315          'action'    : 'string:${object/absolute_url}/register_level',
    320316          'condition':  'python: object.getContent().memberIsOwner() and not object.getContent().isRegisteredForCurrentLevel()',
    321           'permission': (ModifyPortalContent,)},
     317          'permission': (ModifyPortalContent,)
     318          },
    322319          {
    323320          'id'        : 'book_accomodation',
     
    325322          'action'    : 'string:${object/absolute_url}/book_accommodation',
    326323          'condition':  'python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsBooked()',
    327           'permission': (ModifyPortalContent,)},
     324          'permission': (ModifyPortalContent,)
     325          },
    328326          {
    329327          'id'        : 'pay_hostel_fee',
     
    331329          'action'    : 'string:${object/absolute_url}/pay_hostel_fee',
    332330          '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          },
    334341          )
    335342}###)
Note: See TracChangeset for help on using the changeset viewer.