Mercurial > hg > MPIWGWeb
changeset 139:1114f55b0692
Merge with e0b343cee9dd1dd89bbe42fbcb4b1b6acd93811f
author | dwinter |
---|---|
date | Fri, 31 May 2013 17:00:17 +0200 |
parents | 78cd6d661a13 (diff) e0b343cee9dd (current diff) |
children | 87122259f888 |
files | |
diffstat | 1 files changed, 19 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/project/pubman/show_publications.zpt Fri May 31 14:48:28 2013 +0200 +++ b/zpt/project/pubman/show_publications.zpt Fri May 31 17:00:17 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>