Changeset 3479 for WAeUP_SRP/base


Ignore:
Timestamp:
1 May 2008, 05:47:45 (17 years ago)
Author:
Henrik Bettermann
Message:

fix title for Accommodation Data object

Location:
WAeUP_SRP/base/skins/waeup_student
Files:
2 edited

Legend:

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

    r3473 r3479  
    105105    row['id'] = subobject.getId()
    106106    if subobject.portal_type == 'StudentAccommodation':
    107         row['title'] = s_view_titles.get(subobject.portal_type,'') %\
     107        row['title'] = s_view_titles.get(subobject.portal_type,'') +' for Session %s' %\
    108108                       context.portal_vocabularies.sessions.get(subobject.getContent().session)
     109        #row['title'] = s_view_titles.get(subobject.portal_type,'') +' %s' %subobject.getContent().session       
    109110    else:
    110111        row['title'] = s_view_titles.get(subobject.portal_type,'')
     
    132133except:
    133134    current_level = 0
    134 info['transition_return_allowed'] = info['review_state'] == 'school_fee_paid' and info['is_sectionofficer'] # and current_level > 100 
     135info['transition_return_allowed'] = info['review_state'] == 'school_fee_paid' and info['is_sectionofficer'] # and current_level > 100
    135136info['transition_pay_school_fee_allowed'] = info['review_state'] == 'returning' and info['is_sectionofficer']
    136137
  • WAeUP_SRP/base/skins/waeup_student/getStudentObjectTitles.py

    r3473 r3479  
    1414
    1515return  {'StudentApplication': 'Application Data',
    16               'StudentAccommodation': 'Accommodation Data for Session %s' ,
     16              'StudentAccommodation': 'Accommodation Data' ,
    1717              'StudentClearance': 'Clearance/Eligibility Record',
    1818              'StudentPersonal': 'Personal Data',
Note: See TracChangeset for help on using the changeset viewer.