diff zpt/staff/talks_full_html.zpt @ 100:f4ac675b2031

more members pages.
author casties
date Tue, 21 May 2013 18:50:05 +0200
parents
children 2598210ada7a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/staff/talks_full_html.zpt	Tue May 21 18:50:05 2013 +0200
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/page">
+<head>
+<tal:block metal:fill-slot="head">
+  <tal:x define="global member here/getContent" />
+</tal:block>
+</head>
+<body>
+  <div class="center" metal:fill-slot="center">
+    <h1>
+      <span tal:replace="member/title" /> <span tal:replace="python:here.decode(member.first_name)" /> <span
+        tal:replace="python:here.decode(member.last_name)" />
+    </h1>
+
+    <p>
+      <a tal:attributes="href python:here.getUrl(baseUrl=root+'/'+secmap['staff']+'/members')">main entry</a>
+    </p>
+
+    <h2>Talks and presentations</h2>
+    
+    <table class="items shorter" tal:define="talks here/getTalks">
+      <tr tal:repeat="talk talks">
+        <td>
+          <span tal:content="talk/date" />
+        </td>
+        <td>
+          <a tal:attributes="href talk/link" tal:omit-tag="not:talk/link">
+            <span tal:content="talk/place" /> &#150; <i tal:content="talk/title" />
+          </a>
+        </td>
+      </tr>
+    </table>
+  </div>
+</body>
+</html>
\ No newline at end of file