Ignore:
Timestamp:
29 Apr 2008, 09:24:51 (17 years ago)
Author:
joachim
Message:

remove Title from all StudentObjects?,
adjust templates to use getStudentObjectitles,
remove waeup_academics.getDocumentInfo (was duplicate),
do not use portal_catalog for listing faculties and departments.

Location:
WAeUP_SRP/base/skins/waeup_student
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/clearance_view.pt

    r3457 r3473  
    2929          My
    3030        </span>
    31         <span tal:content="context/title_or_id" />
     31        Clearance/Elegibility Record
    3232      </h3>       
    3333     
  • WAeUP_SRP/base/skins/waeup_student/getStudentFolderInfo.py

    r3235 r3473  
    9696              'PaymentsFolder': 'payments_view',
    9797              }
     98s_view_titles = context.getStudentObjectTitles()
    9899
    99100student_obj = getattr(students_folder,student_id)
     
    103104    row = {}
    104105    row['id'] = subobject.getId()
    105     row['title'] = subobject.Title()
     106    if subobject.portal_type == 'StudentAccommodation':
     107        row['title'] = s_view_titles.get(subobject.portal_type,'') %\
     108                       context.portal_vocabularies.sessions.get(subobject.getContent().session)
     109    else:
     110        row['title'] = s_view_titles.get(subobject.portal_type,'')
    106111    url = row['url'] = subobject.absolute_url()
    107112    row['type'] = subobject.portal_type
  • WAeUP_SRP/base/skins/waeup_student/study_course_view.pt

    r2989 r3473  
    1717         <span tal:content="info/student/name" />:
    1818       </span>
    19       <span tal:content="here/title_or_id" />
     19        Study Course
    2020    </h3>
    2121    <br /> 
Note: See TracChangeset for help on using the changeset viewer.