Changeset 3666 for WAeUP_SRP/base/skins


Ignore:
Timestamp:
8 Sep 2008, 18:58:26 (16 years ago)
Author:
Henrik Bettermann
Message:

add transition button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/getStudentFolderInfo.py

    r3565 r3666  
    8989        row['title'] = s_view_titles.get(subobject.portal_type,'') +' for Session %s' %\
    9090                       context.portal_vocabularies.sessions.get(subobject.getContent().session)
    91         #row['title'] = s_view_titles.get(subobject.portal_type,'') +' %s' %subobject.getContent().session       
     91        #row['title'] = s_view_titles.get(subobject.portal_type,'') +' %s' %subobject.getContent().session
    9292    else:
    9393        row['title'] = s_view_titles.get(subobject.portal_type,'')
     
    115115except:
    116116    current_level = 0
    117 info['transition_return_allowed'] = info['review_state'] == 'school_fee_paid' and info['is_sectionofficer'] # and current_level > 100
     117info['transition_return_allowed'] = info['review_state'] in ('school_fee_paid','courses_validated') and info['is_sectionofficer'] # and current_level > 100
    118118info['transition_pay_school_fee_allowed'] = info['review_state'] == 'returning' and info['is_sectionofficer']
    119119
Note: See TracChangeset for help on using the changeset viewer.