Ignore:
Timestamp:
16 Dec 2006, 15:53:13 (18 years ago)
Author:
joachim
Message:

speed improvements for waeup_edit and portlet_session_info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/portlet_session_info.pt

    r913 r1071  
    22           member mtool/getAuthenticatedMember;
    33           isAnon mtool/isAnonymousUser;
    4            info context/getStudentInfo;"
     4           name context/getStudentName;"
    55           >
    6   <tal:block condition="context/isStudent">
     6  <tal:block condition="name">
    77       <strong>
    8          <span tal:condition="context/isStudent|nothing" tal:content="python:info['student_doc'].Title()" />
     8         <span tal:content="name" />
    99       </strong>
    1010  </tal:block>
    11   <tal:block condition="not:context/isStudent">
     11  <tal:block condition="not:name">
    1212       <strong>
    1313         <span tal:content="python:member.getProperty('fullname',None)" />
Note: See TracChangeset for help on using the changeset viewer.