Rev | Line | |
---|
[935] | 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 | "/> |
---|
[1901] | 7 | <metal:block use-macro="here/main_template/macros/master"> |
---|
[1917] | 8 | <metal:block fill-slot="action_slot" tal:define=" |
---|
| 9 | actions python:context.getMembersDirectoryActions('view')"> |
---|
| 10 | <metal:block define-macro="members_actions"> |
---|
[1924] | 11 | <div class="fontColornavigation fontShapeaverage cpsskinsHBox body" > |
---|
| 12 | <span tal:repeat="action actions" tal:omit-tag=""> |
---|
[1917] | 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> |
---|
[1924] | 28 | </div> |
---|
[1917] | 29 | </metal:block> |
---|
| 30 | </metal:block> |
---|
| 31 | |
---|
[935] | 32 | <metal:block fill-slot="main" tal:define=" |
---|
[1917] | 33 | res python: dir.renderEntryDetailed(id); |
---|
| 34 | global rendered_main python: res[0]; |
---|
| 35 | ds python: res[1];"> |
---|
[953] | 36 | <h3> |
---|
| 37 | <span tal:content="ds/fullname" /> |
---|
| 38 | </h3> |
---|
[935] | 39 | <div tal:replace="structure rendered_main">Rendered main...</div> |
---|
| 40 | <input type="submit" name="back" i18n:attributes="value" |
---|
[1901] | 41 | class="standalone" value="button_back" onClick="history.back()" /> |
---|
[935] | 42 | </metal:block> |
---|
[1901] | 43 | </metal:block> |
---|
[935] | 44 | |
---|
Note: See
TracBrowser for help on using the repository browser.