source: WAeUP_SRP/trunk/skins/waeup_default/portlet_session_info.pt @ 449

Last change on this file since 449 was 409, checked in by Henrik Bettermann, 18 years ago

session portlet in WAeUP_Alpha integrated

File size: 568 bytes
Line 
1<tal:block define="mtool here/portal_membership;
2           member mtool/getAuthenticatedMember;
3           isAnon mtool/isAnonymousUser;
4           roles member/getRoles;
5           backend python:'Manager' in roles or 'SectionManager' in roles;
6           frontend python:'Student' in roles or isAnon;"
7           >
8  <tal:block condition="not:isAnon">
9       <strong> <span tal:content="python:member.getProperty('fullname',None)" />
10       </strong>
11  </tal:block>
12
13  <tal:block condition="isAnon">
14    <strong>Anonymous User</strong>
15  </tal:block>
16</tal:block>
Note: See TracBrowser for help on using the repository browser.