Changeset 1185 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
3 Jan 2007, 17:01:42 (18 years ago)
Author:
joachim
Message:

optimize students_view (in custom)

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/student_view.pt

    r1139 r1185  
    1 <metal:html tal:define="info python:context.getStudentInfo(with_items=1);
    2                 is_so context/isSectionOfficer;
    3                 is_staff context/isStaff;
    4                 is_student context/isStudent">
     1<metal:html tal:define="info context/getStudentFolderInfo;
     2                is_so info/is_sectionofficer;
     3                is_staff info/is_staff;
     4                is_student info/is_student">
    55  <metal:body use-macro="here/main_template/macros/master">
    66    <metal:main fill-slot="main">
     
    1717        Up one level
    1818      </a>
    19            
    20         <h3 tal:content="info/student/Title" />
     19        <h3 tal:content="info/name" />
    2120        <br />
    2221
Note: See TracChangeset for help on using the changeset viewer.