Mercurial > hg > MPIWGWeb
diff zpt/staff/teaching_full_html.zpt @ 100:f4ac675b2031
more members pages.
author | casties |
---|---|
date | Tue, 21 May 2013 18:50:05 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/staff/teaching_full_html.zpt Tue May 21 18:50:05 2013 +0200 @@ -0,0 +1,37 @@ +<!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="member/first_name" /> <span + tal:replace="member/last_name" /> + </h1> + + <p> + <a tal:attributes="href python:here.getUrl(baseUrl=root+'/'+secmap['staff']+'/members')">main entry</a> + </p> + + <h2>Teaching activities</h2> + + <table class="items shorter" tal:define="teachings here/getTeaching"> + <tr tal:repeat="teaching teachings"> + <td> + <span tal:content="teaching/date" /> + </td> + <td> + <a tal:attributes="href teaching/link" tal:omit-tag="not:teaching/link"> + <span tal:content="teaching/place" /> – <i tal:content="teaching/title" /> + </a> + </td> + </tr> + </table> + + </div> +</body> +</html> \ No newline at end of file