100
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/page">
|
|
4 <head>
|
|
5 <tal:block metal:fill-slot="head">
|
|
6 <tal:x define="global member here/getContent" />
|
|
7 </tal:block>
|
|
8 </head>
|
|
9 <body>
|
|
10 <div class="center" metal:fill-slot="center">
|
|
11 <h1>
|
|
12 <span tal:replace="member/title" /> <span tal:replace="python:here.decode(member.first_name)" /> <span
|
|
13 tal:replace="python:here.decode(member.last_name)" />
|
|
14 </h1>
|
|
15
|
|
16 <p>
|
|
17 <a tal:attributes="href python:here.getUrl(baseUrl=root+'/'+secmap['staff']+'/members')">main entry</a>
|
|
18 </p>
|
|
19
|
|
20 <h2>Talks and presentations</h2>
|
217
|
21
|
|
22 <tal:block tal:define="calendar here/getTalksCal">
|
|
23 <tal:block tal:condition="calendar">
|
|
24 <tal:block tal:define="talks python:calendar.getSortedItems()">
|
|
25 <table class="items shorter">
|
|
26 <tr tal:repeat="talk talks">
|
|
27 <tal:block tal:define="url python:talk.getValue('url')">
|
|
28 <td width="25%" tal:content="python:talk.getDate()" />
|
|
29 <td><a tal:omit-tag="not:url" tal:attributes="href url"> <span
|
|
30 tal:replace="python:talk.getValue('location')" /> – <i><span
|
|
31 tal:replace="python:talk.getValue('title')" /></i>
|
|
32 </a></td>
|
|
33 </tal:block>
|
|
34 </tr>
|
|
35 </table>
|
|
36 </tal:block>
|
|
37 </tal:block>
|
|
38
|
|
39 <tal:block tal:condition="not:calendar">
|
|
40 <tal:block tal:define="talks here/getTalks" tal:condition="talks">
|
|
41 <table class="items shorter">
|
|
42 <tr tal:repeat="talk talks">
|
|
43 <td><span tal:content="talk/date" /></td>
|
|
44 <td><a tal:attributes="href talk/link" tal:omit-tag="not:talk/link"> <span tal:content="talk/place" />
|
|
45 – <i tal:content="talk/title" />
|
|
46 </a></td>
|
|
47 </tr>
|
|
48 </table>
|
|
49 </tal:block>
|
|
50 </tal:block>
|
|
51 </tal:block>
|
100
|
52 </div>
|
|
53 </body>
|
|
54 </html> |