Line | |
---|
1 | <tal:block define=" |
---|
2 | global id request/id; |
---|
3 | global dirname string:members; |
---|
4 | global dir here/portal_directories/?dirname; |
---|
5 | global dirtitle dir/title_or_id; |
---|
6 | "/> |
---|
7 | <metal:block use-macro="here/main_template/macros/master"> |
---|
8 | <metal:block fill-slot="action_slot" tal:define=" |
---|
9 | actions python:context.getMembersDirectoryActions('view')"> |
---|
10 | <metal:block define-macro="members_actions"> |
---|
11 | <div class="fontColornavigation fontShapeaverage cpsskinsHBox body" > |
---|
12 | <span tal:repeat="action actions" tal:omit-tag=""> |
---|
13 | <a tal:define="icon_tag action/icon_tag" |
---|
14 | tal:attributes="href action/url; |
---|
15 | class python:icon_tag and 'noicon' or None" |
---|
16 | > |
---|
17 | <tal:block condition="python:icon_tag" |
---|
18 | content="structure icon_tag"/> |
---|
19 | <tal:block condition="python:not icon_tag"> |
---|
20 | <img tal:attributes="src |
---|
21 | string:${base_url}noicon.png; |
---|
22 | alt action/title" |
---|
23 | /> |
---|
24 | </tal:block> |
---|
25 | <tal:block i18n:translate="" content="action/title" /> |
---|
26 | </a> |
---|
27 | </span> |
---|
28 | </div> |
---|
29 | </metal:block> |
---|
30 | </metal:block> |
---|
31 | |
---|
32 | <metal:block fill-slot="main" tal:define=" |
---|
33 | res python: dir.renderEntryDetailed(id); |
---|
34 | global rendered_main python: res[0]; |
---|
35 | ds python: res[1];"> |
---|
36 | <h3> |
---|
37 | <span tal:content="ds/fullname" /> |
---|
38 | </h3> |
---|
39 | <div tal:replace="structure rendered_main">Rendered main...</div> |
---|
40 | <input type="submit" name="back" i18n:attributes="value" |
---|
41 | class="standalone" value="button_back" onClick="history.back()" /> |
---|
42 | </metal:block> |
---|
43 | </metal:block> |
---|
44 | |
---|
Note: See
TracBrowser for help on using the repository browser.