comparison zpt/staff/teaching_full_html.zpt @ 100:f4ac675b2031

more members pages.
author casties
date Tue, 21 May 2013 18:50:05 +0200
parents
children
comparison
equal deleted inserted replaced
99:84fa3f62ed85 100:f4ac675b2031
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="member/first_name" /> <span
13 tal:replace="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>Teaching activities</h2>
21
22 <table class="items shorter" tal:define="teachings here/getTeaching">
23 <tr tal:repeat="teaching teachings">
24 <td>
25 <span tal:content="teaching/date" />
26 </td>
27 <td>
28 <a tal:attributes="href teaching/link" tal:omit-tag="not:teaching/link">
29 <span tal:content="teaching/place" /> &#150; <i tal:content="teaching/title" />
30 </a>
31 </td>
32 </tr>
33 </table>
34
35 </div>
36 </body>
37 </html>