source: WAeUP_SRP/trunk/skins/waeup_directory/member_view.pt @ 1796

Last change on this file since 1796 was 1796, checked in by Henrik Bettermann, 17 years ago

some fixes to display the correct object actions
also one fix regarding ticket #214

File size: 1.2 KB
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
9  <metal:block fill-slot="head_slot">
10    <tal:block define="global actions
11      python:context.getWAeUPDirectoryActions(actions, dirname, dir, 'view', id)"/>   
12  </metal:block>
13
14  <metal:block fill-slot="style_slot"> 
15    <link rel="Stylesheet" type="text/css" href=""
16      tal:attributes="href string:${base_url}document.css" />
17  </metal:block>
18
19
20
21  <metal:block fill-slot="main" tal:define="
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;">
26   
27    <h3>
28      <span tal:content="ds/fullname" />     
29    </h3>
30
31   
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.