Last change
on this file was
2564,
checked in by joachim, 18 years ago
|
make only visible for staff
|
-
Property svn:keywords set to
Id
|
File size:
1.4 KB
|
Rev | Line | |
---|
[916] | 1 | <tal:block define=" |
---|
| 2 | global dirname request/dirname|string:members; |
---|
| 3 | global dir here/portal_directories/?dirname; |
---|
| 4 | global dirtitle dir/title_or_id; |
---|
[2564] | 5 | global allowed context/isStaff;" |
---|
| 6 | /> |
---|
[1901] | 7 | <metal:block use-macro="here/main_template/macros/master" > |
---|
[2564] | 8 | <metal:block tal:condition="allowed" |
---|
| 9 | fill-slot="action_slot" |
---|
[1917] | 10 | tal:define="actions python:context.getMembersDirectoryActions('search')"> |
---|
| 11 | <span metal:use-macro="here/member_view/macros/members_actions" /> |
---|
| 12 | </metal:block> |
---|
[2564] | 13 | <metal:block fill-slot="main"> |
---|
| 14 | <metal:block tal:condition="not: allowed"> |
---|
| 15 | <span tal:content="here/illegal_view" /> |
---|
| 16 | </metal:block> |
---|
| 17 | <metal:block tal:condition="allowed"> |
---|
| 18 | <metal:block |
---|
| 19 | tal:define=" |
---|
[1917] | 20 | validate python: request.has_key('cpsdirectory_search_button'); |
---|
| 21 | res python: dir.renderSearchDetailed(request=request, validate=validate, |
---|
| 22 | callback='search_members'); |
---|
| 23 | global rendered_main python: res[0]; |
---|
| 24 | global ok python: res[1]; |
---|
| 25 | ds python: res[2]; |
---|
| 26 | global portal_status_message python: (validate and not ok and |
---|
[2564] | 27 | 'psm_content_error') or request.form.get('portal_status_message', '');" |
---|
| 28 | > |
---|
| 29 | <h3> |
---|
| 30 | Search Member Section |
---|
| 31 | </h3> |
---|
| 32 | <br /> |
---|
| 33 | <div tal:replace="structure rendered_main">Rendered main...</div> |
---|
| 34 | </metal:block> |
---|
| 35 | </metal:block> |
---|
[916] | 36 | </metal:block> |
---|
| 37 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.