Mercurial > hg > MPIWGWeb
view zpt/project/project_template.zpt @ 57:84879a3f91a6
getLastArrivals
author | dwinter |
---|---|
date | Tue, 30 Apr 2013 22:34:00 +0200 |
parents | a6ace48c2bf2 |
children | 04fb655633ef |
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 metal:use-macro="here/pro_sec_template/macros/page"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <tal:block metal:fill-slot="title"> <title tal:content="string:${here/getNumber} ${here/getProjectTitle}" /> </tal:block> <tal:block metal:fill-slot="head" tal:define="global proBaseUrl string:$root/${secmap/research}/projects; global images here/getImageList; global dept here/getDepartmentId;" /> </head> <body> <!-- middle column --> <div class="center" metal:fill-slot="center"> <h2 tal:condition="not:here/isCurrentVersion"> This is an outdated version of this project! For the current version, please refer to <a tal:define="parentUrl python:here.aq_parent.getUrl(baseUrl=proBaseUrl)" tal:attributes="href parentUrl" tal:content="parentUrl"/> </h2> <tal:x tal:define="started here/getStartedAt" tal:condition="here/isArchivedProject"> <p> (<span tal:condition="started" tal:content="string:$started-"/><span tal:condition="not:started">Completed:</span> <span tal:content="here/getCompletedAt"/>) </p> </tal:x> <h1 tal:content="here/getProjectTitle">History of Scientific Objectivity, 18th-19th Cs</h1> <p class="maintext_authors"> <tal:block tal:repeat="person here/getResponsibleScientistsList"> <a tal:define="username person/username|nothing" tal:omit-tag="python:not username or not here.getStaffFolder().isActiveMember(key=person.get('key',None))" tal:attributes="href string:$root/${secmap/staff}/members/$username" tal:content="person/name"> Name of responsible person</a><tal:block tal:condition="not:repeat/person/end">, </tal:block> </tal:block> </p> <p class="maintext_more" tal:define="others here/getInvolvedScholars" tal:condition="others"> Other involved scholars: <span tal:content="structure others">Scholars </span> </p> <p class="maintext_more" tal:define="partners here/getCooperationPartners" tal:condition="partners"> Cooperation Partners: <span tal:content="structure partners">Partners</span> </p> <!-- inline image --> <div class="pic_inline_container" tal:condition="images"> <tal:block tal:repeat="image python:images"> <div class="pic_inline"> <a tal:condition="image/width" tal:attributes="href python:request['URL1']+'/'+image.getId()+'/showImage'" target="image"><img width="220" tal:attributes="src image/absolute_url" alt=""/><!-- <img tal:replace="structure python:image.tag(scale=min(220.0/image.width,1), border='0')" /> --></a> <pre tal:condition="not:image/width">empty image</pre> </div> <div class="caption_inline" tal:content="structure image/caption"> J.-A.-D. Ingres: Mme Moitessier, 1856. Oel/Lw. 120 x 92,1 cm. London, National Gallery. </div> </tal:block> </div> <!-- inline image --> <div tal:content="structure python:here.getDescription(filter=True)">Project description</div> </div> <!-- right column --> <div class="sidebar" metal:fill-slot="sidebar"> <!-- this project is part of --> <div class="sideblock" tal:define="parents here/getSuperProjects;" tal:condition="parents"> <div class="project parent"> Part of: <a tal:define="parent python:parents[-1]" tal:content="parent/getLabel" tal:attributes="href python:parent.getUrl(baseUrl=proBaseUrl)+test(here.isArchivedProject(),'?showArchive=yes','')" /> </div> <!-- end parent --> </div> <!-- sideblock --> <!-- related projects --> <div class="sideblock" tal:define="projects here/getRelatedProjects" tal:condition="projects"> <h2>Related Projects</h2> <div class="item" tal:repeat="project python:projects"> <a tal:attributes="href python:proBaseUrl+'/'+project.objid" tal:content="python:project.projectWEB_title" /> </div> <!-- end item --> </div> <!-- sideblock --> <!-- related publications --> <tal:block tal:define="publications here/getRelatedPublications;"> <div class="sideblock" tal:condition="publications"> <h2>Related Publications</h2> <div class="item" tal:repeat="publication publications"> <tal:y condition="not:python:publication.hasLinkToBookPage(mode='cached')"> <tal:x condition="python:hasattr(publication,'publicationImage1')"> <a target="_blank" tal:attributes="href python:publication.publicationImage1.absolute_url()"> <img width="150" tal:attributes="src python:publication.publicationImage1.absolute_url()" /> </a> <a tal:condition="python:hasattr(publication,'publicationImage2')" target="_blank" tal:attributes="href python:publication.publicationImage2.absolute_url()"> <img width="150" tal:condition="python:hasattr(publication,'publicationImage2')" tal:attributes="src python:publication.publicationImage2.absolute_url()" /> </a> <br /> </tal:x> </tal:y> <tal:y condition="python:publication.hasLinkToBookPage(mode='cached')" tal:define="urls python:publication.getImageUrls(mode='cached')"> <tal:x condition="python:len(urls)>0"> <a target="_blank" tal:attributes="href python:urls[0]"><img width="150" tal:attributes="src python:urls[0]" /></a> <a tal:condition="python:len(urls)>1" target="_blank" tal:attributes="href python:urls[1]"><img width="150" tal:attributes="src python:urls[1]" /></a> <br /> </tal:x> </tal:y> <a tal:define="link publication/link | nothing;" tal:omit-tag="not:link" tal:content="structure python:publication.text" tal:attributes="href link"/> <br /> <tal:x tal:condition="python:hasattr(publication,'description')" tal:content="structure python:publication.description" /> </div> <!-- end item --> </div> <!-- sideblock --> <div class="sideblock" tal:condition="python:here.hasExtendedPublicationList()"> <h2>Further Publications</h2> <div class="item"> <a href="publicationsFull">Publications in the context of this project</a> </div> </div> </tal:block> <!-- related publications --> <!-- projects covered --> <div class="sideblock" tal:define="showArchive python:(request.get('showArchive','no')=='yes'); children here/getSubProjects;" tal:condition="children"> <h2> Projects <span class="proj_state"> <a href="?" tal:omit-tag="python:not (here.isArchivedProject() or showArchive)">current</a> <a href="?showArchive=yes" tal:omit-tag="python:here.isArchivedProject() or showArchive">completed</a> </span> </h2> <tal:y tal:repeat="child children"> <tal:x tal:condition="python:not (child.isArchivedProject() or showArchive)"> <div class="project"> <a tal:content="child/getLabel" tal:attributes="href python:child.getUrl(baseUrl=proBaseUrl)" /> </div> </tal:x> <tal:x tal:condition="python:child.isArchivedProject() and (here.isArchivedProject() or showArchive)"> <div class="project inactive" tal:define="started child/getStartedAt"> <a tal:content="child/getLabel" tal:attributes="href python:child.getUrl(baseUrl=proBaseUrl)" /> (<span tal:condition="started" tal:content="string:$started-"/><tal:x tal:condition="not:started">Completed: </tal:x><span tal:content="child/getCompletedAt"/>) </div> </tal:x> </tal:y> </div> <!-- projects covered --> <!-- related digital sources --> <div class="sideblock" tal:define="sources here/getRelatedDigitalSources" tal:condition="sources"> <h2>Related digital sources</h2> <div class="item" tal:content="structure sources"> digital sources </div> </div> <!-- funding institutions --> <div class="sideblock" tal:define="funding here/getFundingInstitutions" tal:condition="funding"> <h2>Funding Institutions</h2> <div class="item" tal:content="structure funding"> Funding </div> </div> <!-- sideblock --> </div> <!-- sidebar --> </body> </html>