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: 0 and '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: 1"> |
---|
12 | <a href="" i18n:translate="" |
---|
13 | tal:attributes="href string:${here/portal_url}/sections/waeup/students" |
---|
14 | >Studentadministration</a> | |
---|
15 | <a href="" i18n:translate="" |
---|
16 | tal:attributes="href string:${here/portal_url}/sections/waeup/faculties" |
---|
17 | >Faculties</a> |
---|
18 | </tal:block> |
---|
19 | <tal:block condition="anonymous"> |
---|
20 | </tal:block> |
---|
21 | </tal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.