Last change
on this file since 1816 was
1796,
checked in by Henrik Bettermann, 18 years ago
|
some fixes to display the correct object actions
also one fix regarding ticket #214
|
File size:
1.2 KB
|
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 | "/> |
---|
| 7 | <metal:block use-macro="here/main_template/macros/master"> |
---|
[953] | 8 | |
---|
[1796] | 9 | <metal:block fill-slot="head_slot"> |
---|
[935] | 10 | <tal:block define="global actions |
---|
[1796] | 11 | python:context.getWAeUPDirectoryActions(actions, dirname, dir, 'view', id)"/> |
---|
| 12 | </metal:block> |
---|
| 13 | |
---|
| 14 | <metal:block fill-slot="style_slot"> |
---|
[935] | 15 | <link rel="Stylesheet" type="text/css" href="" |
---|
| 16 | tal:attributes="href string:${base_url}document.css" /> |
---|
| 17 | </metal:block> |
---|
| 18 | |
---|
| 19 | |
---|
[953] | 20 | |
---|
[935] | 21 | <metal:block fill-slot="main" tal:define=" |
---|
[1796] | 22 | res python: dir.renderEntryDetailed(id); |
---|
| 23 | global rendered_main python: res[0]; |
---|
| 24 | ds python: res[1]; |
---|
| 25 | global title ds/?title_field|id;"> |
---|
[953] | 26 | |
---|
| 27 | <h3> |
---|
| 28 | <span tal:content="ds/fullname" /> |
---|
| 29 | </h3> |
---|
[935] | 30 | |
---|
[1796] | 31 | |
---|
[935] | 32 | <div tal:replace="structure rendered_main">Rendered main...</div> |
---|
| 33 | <input type="submit" name="back" i18n:attributes="value" |
---|
| 34 | class="standalone" value="button_back" onClick="history.back()" /> |
---|
| 35 | </metal:block> |
---|
| 36 | |
---|
| 37 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.