Last change
on this file since 647 was
538,
checked in by joachim, 18 years ago
|
fixed typo WAeUP Image Widget
introduced academicx_index and modified all types
|
-
Property svn:keywords set to
Id
|
File size:
721 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 | info context/getStudentInfo;" |
---|
8 | > |
---|
9 | <tal:block condition="not:isAnon"> |
---|
10 | <strong> <span tal:condition="info" tal:content="python:info['student_doc'].Title()" /> |
---|
11 | <span tal:condition="not: info" tal:content="python:member.getProperty('fullname',None)" /> |
---|
12 | </strong> |
---|
13 | </tal:block> |
---|
14 | |
---|
15 | <tal:block condition="isAnon"> |
---|
16 | <strong>Anonymous User</strong> |
---|
17 | </tal:block> |
---|
18 | </tal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.