Mercurial > hg > MPIWGWeb
view zpt/members_main.zpt @ 37:9b38ba45773b
?berarbeitung MPIWGStaff
neue editfunktionen
author | dwinter |
---|---|
date | Fri, 26 Apr 2013 17:19:08 +0200 |
parents | bca61e893fcc |
children |
line wrap: on
line source
<html metal:use-macro="here/main_template/macros/page"> <head> <title tal:content="template/title">The title</title> </head> <body> <tal:block metal:fill-slot="body" tal:define="found python:here.ZSQLInlineSearch(_table='personal_www',username=here.getId())[0]"> <table class="center"> <td valign="top" width="610"> <div id="NameTitle" style="position:absolute; width:365px; height:37px; z-index:3; left: 161px; top: 63px; visibility: visible"> <h2><span tal:replace="found/title"/> <span tal:replace="found/vorname"/> <span tal:replace="found/name"/></h2> </div> <div id="Position" style="position:absolute; width:365px; height:30px; z-index:5; left: 161px; top: 115px; visibility: visible"> <h3><span tal:replace="found/position"/></h3> </div> <div id="StayAtMpiwg" style="position:absolute; width:365px; height:32px; z-index:6; left: 161px; top: 158px; visibility: visible"> <p class="p_noindent">Residence:<br> <span tal:replace="found/stay_at_mpiwg"/></p> </div> <div id="Adress" style="position:absolute; width:365px; height:90px; z-index:4; left: 161px; top: 210px"> <p class="p_noindent"> <br> <br> <br> </p> </div> <!-- middle right (PIM) --> <div id="ContactsImg" style="position:absolute; width:355px; height:114px; z-index:1; left: 286px; top: 220px; visibility: visible;"> <table width="400" border="0"> <tr> <td rowspan="4" width="48"><img src="images/EmailResponseOrg.gif" width="40" height="49" align="middle"><img src="bilder/leer.gif" width="1" height="100" align="middle"> </td> <tal:block tal:condition="python:found.telefon_p=='yes'"> <td width="84" height="25"> <p>tel.:</p> </td> <td width="180" height="25"> <p class="p_noindent" tal:content="found/telefon">[FMP-Field: telefon]</p> </td> </tal:block> </tr> <tr> <tal:block tal:condition="python:found.e_mail_p=='yes'"> <td width="84" height="25"> <p>email:</p> </td> <td width="180" height="25"> <p class="p_noindent"> <a tal:attributes="href python:'mailto:'+found.e_mail" tal:content="found/e_mail">[FMP-Field: e_mail]</a></p> </td> </tal:block> </tr> <tr> <tal:block tal:condition="python:found.fax_p=='yes'"> <td width="84" height="25"> <p>fax:</p> </td> <td width="180" height="25"> <p class="p_noindent" tal:content="found/fax">[FMP-Field: fax]</p> </td> </tal:block> </tr> <tr> <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.private_homepage)"> <td width="84" height="25"> <p>homepage:</p> </td> <td width="180" height="25"> <p class="p_noindent"><a tal:attributes="href found/private_homepage" target="_new" tal:content="found/private_homepage">[FMP-Field: private_homepage]</a></p> </td> </tal:block> </tr> </table> <!-- middle right (PIM) END --> </div> <!-- bottom right --> <div id="Daten" style="position:absolute; z-index:10; left: 173px; top: 350px; width: 578px; height: 589px; visibility: visible"> <div id="Teaching" style="position:relative; width:581px; z-index:14;"> <img src="images/en/Fieldnames72_NBProjectsMPI.jpg" width="211" height="33"> <p> </p> <tal:block tal:repeat="projects python:here.getProjectsOfMember(email=here.getId())"> <p tal:repeat="project python:projects[1]" class="p_noindent"> <a tal:attributes="href python:project.absolute_url+'/index.html'"><span tal:replace="python:project.WEB_title[0].encode('utf-8')"/></a></p> <br/> </tal:block> <p> </p> </div> </table> </tal:block> </body> </html> <!-- to be done institutsbiliographie integrieren images published yes or no abfragen -->