Mercurial > hg > MPIWGWeb
changeset 142:87122259f888
Merge with 1114f55b069264c86a20579939839c20b4e01b3c
author | casties |
---|---|
date | Fri, 31 May 2013 17:57:49 +0200 |
parents | 45b7b24c8c42 (current diff) 1114f55b0692 (diff) |
children | 636fc61e64e7 |
files | |
diffstat | 1 files changed, 19 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/project/pubman/show_publications.zpt Fri May 31 17:56:46 2013 +0200 +++ b/zpt/project/pubman/show_publications.zpt Fri May 31 17:57:49 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>