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

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