source: waeup_product/trunk/skins/waeup_default/portlet_studentnavigation.pt @ 81

Last change on this file since 81 was 81, checked in by Henrik Bettermann, 19 years ago
File size: 818 bytes
Line 
1<tal:block define="mtool here/portal_membership;
2                   anonymous mtool/isAnonymousUser;
3                   user python: mtool.getAuthenticatedMember();
4                   folder_id python:str(user)"
5                   >
6  <tal:block condition="python: 'Students' in user.getGroups()">
7    <a href="" i18n:translate=""
8       tal:attributes="href string:${here/portal_url}/sections/waeup/students/${folder_id}"
9       tal:content="string: Personal area for JAMB Registration ${folder_id}"></a>
10  </tal:block>
11  <tal:block condition="python: 'StudentManager' in user.getGroups()">
12    <a href="" i18n:translate=""
13       tal:attributes="href string:${here/portal_url}/sections/waeup/students"
14       >Student Administration</a>
15  </tal:block>
16  <tal:block condition="anonymous">
17  </tal:block>
18</tal:block>
Note: See TracBrowser for help on using the repository browser.