Mercurial > hg > MPIWGWeb
changeset 138:78cd6d661a13
with book pages etc..
author | dwinter |
---|---|
date | Fri, 31 May 2013 16:59:43 +0200 |
parents | 63e1c1c06fb3 |
children | 1114f55b0692 |
files | zpt/project/pubman/show_publications.zpt |
diffstat | 1 files changed, 19 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/project/pubman/show_publications.zpt Fri May 31 14:11:13 2013 +0200 +++ b/zpt/project/pubman/show_publications.zpt Fri May 31 16:59:43 2013 +0200 @@ -50,20 +50,33 @@ <h2>Books</h2> <ul class="publicationlist"> <li tal:repeat="found3 python:publicationsSorted['book'] "><a - tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+found3[0]" - tal:content="structure python:found3[1]" /></li> + tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+found3['escidocId']" + tal:content="structure python:found3['citation']" /> + <div tal:condition="python:found3['bookId'] is not None"><a class="internal" tal:attributes="href python:'/en/resources/publications/'+here.getBookLinkFromID(found3['bookId'])">Book page</a></div> + <div tal:repeat="ident python:found3['linksIdentifier']"><a class="external" tal:attributes="href ident">See also</a></div> + <div tal:repeat="ident python:found3['linksLocator']"><a class="external" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also:</a></div> + </li> + </ul> <h2>Chapters</h2> <ul class="publicationlist"> <li tal:repeat="found3 python:publicationsSorted['book-item']"><a - tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+found3[0]" - tal:content="structure python:found3[1]" /></li> + tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+found3['escidocId']" + tal:content="structure python:found3['citation']" /> + <div tal:condition="python:found3['bookId'] is not None"><a class="internal" tal:attributes="href python:'/en/resources/publications/'+here.getBookLinkFromID(found3['bookId'])">Book page</a></div> + <div tal:repeat="ident python:found3['linksIdentifier']"><a class="external" tal:attributes="href ident">See also</a></div> + <div tal:repeat="ident python:found3['linksLocator']"><a class="external" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also:</a></div> + </li> </ul> <h2>Articles</h2> <ul class="publicationlist"> <li tal:repeat="found3 python:publicationsSorted['book-item']"><a - tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+found3[0]" - tal:content="structure python:found3[1]" /></li> + tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+found3['escidocId']" + tal:content="structure python:found3['citation']" /> + <div tal:condition="python:found3['bookId'] is not None"><a class="internal" tal:attributes="href python:'/en/resources/publications/'+here.getBookLinkFromID(found3['bookId'])">Book page</a></div> + <div tal:repeat="ident python:found3['linksIdentifier']"><a class="external" tal:attributes="href ident">See also</a></div> + <div tal:repeat="ident python:found3['linksLocator']"><a class="external" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also:</a></div> + </li> </ul> </tal:x>