Mercurial > hg > MPIWGWeb
diff zpt/harvest_members_main.zpt @ 0:bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
author | casties |
---|---|
date | Thu, 10 Jan 2013 17:52:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/harvest_members_main.zpt Thu Jan 10 17:52:13 2013 +0100 @@ -0,0 +1,106 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> +<html> + <body> + +<div class="haupttext"> + <p> </p> + <tal:block tal:define="found python:here.ZSQLInlineSearchU(_table='personal_www',key=here.getKeyUTF8(),publish_the_data='yes')"> + <tal:block tal:condition="found"> + + <tal:block tal:define="founds2 python:here.ZSQLInlineSearch(_table='current_work',id_main=found.id,publish='yes')" tal:condition="founds2"> + <h1>Current work</h1> + + <p class="fliesstext" tal:repeat="found2 founds2"> + <span tal:replace="found2/current"/> + </p> + + </tal:block> + + <tal:block tal:define="founds2 python:here.ZSQLInlineSearch(_table='research_interest',id_main=found.id,published='yes')" tal:condition="founds2"> + <h1>Research interests</h1> + <ul class="liste"> + <li tal:repeat="found2 founds2"> + <span tal:replace="found2/interest"/> + </li> + </ul> + </tal:block> + + +<!-- Curriculum vitae --> + <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.cv)"> + <h1>Curriculum vitae</h1> + <p class="fliesstext" tal:content="structure python:here.formatAscii(found.cv)"> [FMP-Field: CV] </p> + </tal:block> + +<!-- Awards --> + <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.awards)"> + <h1>Awards</h1> + <p class="fliesstext" tal:content="structure python:here.formatAscii(found.awards)"> [FMP-Field: awards, break] </p> + </tal:block> + +<!-- Selected publications --> + <tal:block tal:condition="here/usePublicationsSpecial|python:False"> + <h1>Selected publications</h1> + <ul class="liste"> + <tal:block tal:replace="structure here/specialPublicationsField"/> + <li> + <a tal:attributes="href python:'publications_full?-table=personal_www&id='+found.id">more</a> + </li> + </ul> + </tal:block> + + <tal:block tal:condition="not:here/usePublicationsSpecial|python:False"> + <tal:block tal:condition="python:here.ZSQLInlineSearch(storename='search3',_table='publications',id_main=found.id,_max=10000,publish='yes')"> + <h1>Selected publications</h1> + + <ul class="liste"> + <li tal:repeat="found3 python:here.sortBibliography(here.ZSQLInlineSearch(storename='search3',_table='publications',id_main=found.id,_max=10000,publish='yes'),here.getPublicationSelectionMode())"> + <span tal:replace="structure python:here.en.formatBibliography(here,found3)"/> + </li> + <li tal:condition="python:here.ZSQLFoundCount(storename='search3')>5"> + <a tal:attributes="href python:'publications_full?-table=personal_www&id='+found.id">more</a> + </li> + </ul> + </tal:block> + </tal:block> +<!-- Talks --> + <tal:block tal:define="founds4 python:here.ZSQLInlineSearch(storename='search4',_table='talks',id_main=found.id,_max=10000,_sort='priority',published='yes')" tal:condition="founds4"> + <h1>Talks and presentations</h1> + <ul class="liste"> + <li tal:repeat="found4 python:here.sortPriority(founds4)"> + <span tal:condition="not:python:here.ZSQLisEmpty(found4.link)"> + <a tal:attributes="href found4/link"><span tal:replace="found4/date"/> – <span tal:replace="found4/place"/> – <span tal:replace="found4/title"/></a> + </span> + <span tal:condition="python:here.ZSQLisEmpty(found4.link)"> + <span tal:replace="found4/date"/> – <span tal:replace="found4/place"/> – <span tal:replace="found4/title"/> + </span> + </li> + <li tal:condition="python:here.ZSQLFoundCount(storename='search4')>5"> + <a tal:attributes="href python:'talks_full?-table=personal_www&id='+found.id">more</a> + </li> + </ul> + </tal:block> + +<!-- >Teaching activities --> + <tal:block tal:define="founds5 python:here.ZSQLInlineSearch(storename='search5',_table='teaching',id_main=found.id,_max=1000,_sort='priority')" tal:condition="founds5"> + <h1>Teaching activities</h1> + <ul class="liste"> + <li tal:repeat="found5 python:here.sortPriority(founds5)"> + <span tal:condition="not:python:here.ZSQLisEmpty(found5.link)"> + <a tal:attributes="href found5/link"><span tal:replace="found5/date"/> – <span tal:replace="found5/place"/> – <span tal:replace="found5/title"/> + </a> + </span> + <span tal:condition="python:here.ZSQLisEmpty(found5.link)"> + <span tal:replace="found5/date"/> – <span tal:replace="found5/place"/> – <span tal:replace="found5/title"/> + </span> + </li> + <li tal:condition="python:here.ZSQLFoundCount(storename='search5')>5" class="p_indent"><a tal:attributes="href python:'teaching_full?-table=personal_www&id='+found.id">more</a> + </li> + </ul> + </tal:block> + </tal:block> + </tal:block> +</div> + </body> +</html>