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

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

ticket #213

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