Mercurial > hg > MPIWGWeb
view zpt/staff/member_index_html.zpt @ 248:a14e462fca1c
add license-page link to page footer.
author | casties |
---|---|
date | Tue, 18 Mar 2014 10:18:35 +0100 |
parents | 980794794bb5 |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/page"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <metal:block metal:fill-slot="head"> <meta name="description" content="member"/> <tal:block tal:define="global member options/member; global key member/getKey; global username member/getUsername; global content member/getContent; global baseUrl string:$root/${secmap/staff}/members/$username; global crumbs member/getBreadcrumbs;" /> </metal:block> </head> <body> <!-- center text --> <div class="center" metal:fill-slot="center"> <div> <!-- image --> <div class="figure" tal:define="imgUrl member/getPublishedImageUrl" tal:condition="imgUrl"> <img tal:attributes="src string:$imgUrl&dw=165"/> </div> <!-- name and title --> <h1> <span class="mpiwg-first_name" tal:content="content/first_name" /> <span class="mpiwg-last_name" tal:content="content/last_name" /> </h1> <!-- status --> <h3 tal:content="content/status" /> <h3 tal:content="content/titles_new" /> <h3 tal:condition="content/funded_by"> Funded by the <span tal:replace="content/funded_by" /> </h3> <p> Residence: <span tal:replace="content/date_stay_at_mpiwg" /> </p> </div> <!-- profile --> <div class="clear"> <tal:x tal:condition="content/profile"> <h2 class="line">Profile</h2> <div class="profile" tal:content="structure content/profile"> [FMP-Field: CV] </div> </tal:x> <tal:x tal:condition="not:content/profile"> <tal:y tal:replace="structure member/generateProfileForPerson" /> </tal:x> </div> <!-- publications --> <tal:block tal:define="show_num python:content.publications_num or 5; publications python:member.getPublicationsFromPubman(limit=show_num+1)" tal:condition="publications"> <h2 class="line">Selected publications</h2> <ul class="plain"> <li class="reference" tal:repeat="publication publications"> <span tal:content="structure python:publication[1]"/> <a class="external" target="_blank" tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+publication[0]">More</a> <span tal:condition="python:publication[2] is not None"><a class="internal" tal:attributes="href python:'/en/resources/publications/'+here.getBookLinkFromID(publication[2])">Book page</a></span> <span tal:repeat="ident python:publication[3]"><a class="external" target="_blank" tal:attributes="href ident">See also</a></span> <span tal:repeat="ident python:publication[4]"><a class="external" target="_blank" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also</a></span> </li> </ul> <p tal:condition="python:len(publications)>show_num"> <a class="internal" tal:attributes="href string:$baseUrl/publications_full_html">More publications</a> </p> </tal:block> <!-- Talks --> <tal:block tal:define="calendar member/getTalksCal; show_num python:content.talks_num or 5"> <tal:block tal:condition="calendar"> <tal:block tal:define="upcoming python:calendar.getFlag('only_upcoming', False); talks python:test(upcoming, calendar.getAllItemsFromTodayOn()[:show_num], calendar.getNext(show_num, reverse=True))" tal:condition="talks"> <h2 class="line" tal:condition="upcoming">Upcoming talks and presentations</h2> <h2 class="line" tal:condition="not:upcoming">Talks and presentations</h2> <table class="items shorter"> <tr tal:repeat="talk talks"> <tal:block tal:define="url python:talk.getValue('url')"> <td width="25%" tal:content="python:talk.getDate()" /> <td><a class="external" target="_blank" tal:omit-tag="not:url" tal:attributes="href url"><span tal:replace="python:talk.getValue('location')" /> – <i><span tal:replace="python:talk.getValue('title')" /></i> </a></td> </tal:block> </tr> </table> <p tal:condition="python:len(calendar.getItems())>show_num"> <a class="internal" tal:attributes="href string:$baseUrl/talks_full_html">More</a> </p> </tal:block> </tal:block> <tal:block tal:condition="not:calendar"> <tal:block tal:define="talks member/getTalks" tal:condition="talks"> <h2 class="line">Talks and presentations</h2> <table class="items shorter"> <tr tal:repeat="talk python:here.ZDBSlice(talks,size=show_num)"> <td width="25%" tal:content="talk/date" /> <td><a class="external" target="_blank" tal:omit-tag="not:talk/link" tal:attributes="href talk/link"> <span tal:replace="talk/place" /> – <i><span tal:replace="talk/title" /></i> </a></td> </tr> </table> <p tal:condition="python:len(talks)>show_num"> <a class="internal" tal:attributes="href string:$baseUrl/talks_full_html">More</a> </p> </tal:block> </tal:block> </tal:block> <!-- Teaching activities --> <tal:block tal:define="teachings member/getTeaching; show_num python:content.teachings_num or 5" tal:condition="teachings"> <h2 class="line">Teaching activities</h2> <table class="items shorter"> <tr tal:repeat="teaching python:here.ZDBSlice(teachings, size=show_num)"> <td width="25%"> <a tal:omit-tag="not:teaching/link" tal:attributes="href teaching/link"> <span tal:replace="teaching/date" /> </a> </td> <td> <a tal:omit-tag="not:teaching/link" tal:attributes="href teaching/link"> <span tal:replace="teaching/place" /> – <i><span tal:replace="teaching/title" /></i> </a> </td> </tr> </table> <p tal:condition="python:len(teachings)>show_num"> <a class="internal" tal:attributes="href string:$baseUrl/teaching_full_html">More</a> </p> </tal:block> </div><!-- /center --> <!--sidebar content --> <div class="sidebar" metal:fill-slot="sidebar"> <div class="sideblock"> <h2>Contact</h2> <div class="item noline"> Max Planck Institute for the History of Science <br /> Boltzmannstraße 22 <br /> 14195 Berlin <br /> Germany </div> <div class="item" tal:condition="python:content.telefon_p=='yes'"> tel.: <span tal:content="content/telefon">[FMP-Field: telefon]</span> <br /> </div> <div class="item" tal:condition="python:content.fax_p=='yes'"> fax: <span tal:content="content/fax">[FMP-Field: fax]</span> <br /> </div> <div class="item" tal:condition="python:content.e_mail_p=='yes'"> <a class="email" tal:attributes="href string:mailto:${content/e_mail}" tal:content="content/e_mail">[FMP-Field: e_mail]</a> </div> <div class="item" tal:condition="python:content.e_mail2_p=='yes'"> <a class="email" tal:attributes="href string:mailto:${content/e_mail2}" tal:content="content/e_mail2">[FMP-Field: e_mail2]</a> (external) </div> </div> <div class="sideblock" tal:define="projects python:here.getProjectFolder().getProjectsOfMember(key=key)" tal:condition="projects"> <h2>Projects</h2> <div class="project" tal:repeat="project projects"> <a tal:attributes="href python:project.getUrl(baseUrl=root+'/'+secmap['research']+'/projects')" tal:content="project/getLabel" /> </div> </div> <div class="sideblock"> <h2>Related Material</h2> <div class="item download" tal:condition="python:here.content.cv_p=='yes'"> <a target="_blank" href="downloadCV">Download Curriculum Vitae</a> </div> <div class="item download" tal:condition="python:here.content.publications_p=='yes'"> <a target="_blank" href="downloadPublications">Download Publication List</a> <br /> </div> <div class="item external"> <a target="_blank" tal:attributes="href python:member.getConeId()"> See publications on PubMan</a> </div> <div class="item external" tal:repeat="addLink python:here.ZDBInlineSearch(_table='additionallink',key_main=key,_op_key_main='eq',_sort='priority',published='yes')"> <a target="_blank" tal:content="addLink/title" tal:attributes="href addLink/link"> Daston on the History of Science (listen to CBC-Interview, Fall 2007)</a> </div> </div> </div> <!-- sidebar --> </body> </html>