Last change
on this file since 6208 was
2564,
checked in by joachim, 17 years ago
|
make only visible for staff
|
-
Property svn:keywords set to
Id
|
File size:
1.4 KB
|
Line | |
---|
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; |
---|
5 | global allowed context/isStaff;" |
---|
6 | /> |
---|
7 | <metal:block use-macro="here/main_template/macros/master" > |
---|
8 | <metal:block tal:condition="allowed" |
---|
9 | fill-slot="action_slot" |
---|
10 | tal:define="actions python:context.getMembersDirectoryActions('search')"> |
---|
11 | <span metal:use-macro="here/member_view/macros/members_actions" /> |
---|
12 | </metal:block> |
---|
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=" |
---|
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 |
---|
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> |
---|
36 | </metal:block> |
---|
37 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.