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 | "/> |
---|
6 | <metal:block use-macro="here/main_template/macros/master" > |
---|
7 | <metal:block fill-slot="action_slot" |
---|
8 | tal:define="actions python:context.getMembersDirectoryActions('search')"> |
---|
9 | <span metal:use-macro="here/member_view/macros/members_actions" /> |
---|
10 | </metal:block> |
---|
11 | <metal:block fill-slot="main" tal:define=" |
---|
12 | validate python: request.has_key('cpsdirectory_search_button'); |
---|
13 | res python: dir.renderSearchDetailed(request=request, validate=validate, |
---|
14 | callback='search_members'); |
---|
15 | global rendered_main python: res[0]; |
---|
16 | global ok python: res[1]; |
---|
17 | ds python: res[2]; |
---|
18 | global portal_status_message python: (validate and not ok and |
---|
19 | 'psm_content_error') or request.form.get('portal_status_message', '');"> |
---|
20 | <h3> |
---|
21 | Search Member Section |
---|
22 | </h3> |
---|
23 | <br /> |
---|
24 | <div tal:replace="structure rendered_main">Rendered main...</div> |
---|
25 | </metal:block> |
---|
26 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.