comparison zpt/staff/pubman/show_publications.zpt @ 140:f84f492f8e11

CLOSED - # 94: Profilseiten: Layout https://it-dev.mpiwg-berlin.mpg.de/tracs/webpage/ticket/94
author casties
date Fri, 31 May 2013 17:55:58 +0200
parents 9f45ed6ffeab
children
comparison
equal deleted inserted replaced
137:e0b343cee9dd 140:f84f492f8e11
7 </head> 7 </head>
8 <body> 8 <body>
9 <div class="center" metal:fill-slot="center"> 9 <div class="center" metal:fill-slot="center">
10 10
11 <h1> 11 <h1>
12 <span tal:replace="python:options['member'].title" /> <span tal:replace="python:options['member'].first_name" /> <span 12 <span tal:replace="options/member/title" />
13 tal:replace="python:options['member'].last_name" /> 13 <span tal:replace="options/member/first_name" />
14 <span tal:replace="options/member/last_name" />
14 </h1> 15 </h1>
15 16
16 <p> 17 <p>
17 <a tal:attributes="href string:$root/$section/members/${here/getId}">main entry</a> 18 <a class="internal" tal:attributes="href string:$root/$section/members/${here/getId}">Main entry</a>
18 </p> 19 </p>
19 20
20 <h2>Selected publications</h2> 21 <h1>Selected publications</h1>
21 22
22 <tal:block 23 <tal:block
23 tal:define=" 24 tal:define="
24 books python:here.getPublicationsFromPubman(publicationType='http://purl.org/eprint/type/Book',limit=15); 25 books python:here.getPublicationsFromPubman(publicationType='http://purl.org/eprint/type/Book',limit=15);
25 book_article python:here.getPublicationsFromPubman(publicationType='http://purl.org/eprint/type/BookItem',limit=15); 26 book_article python:here.getPublicationsFromPubman(publicationType='http://purl.org/eprint/type/BookItem',limit=15);
26 articles python:here.getPublicationsFromPubman(publicationType='http://purl.org/escidoc/metadata/ves/publication-types/article',limit=30); 27 articles python:here.getPublicationsFromPubman(publicationType='http://purl.org/escidoc/metadata/ves/publication-types/article',limit=30);
27 "> 28 ">
28 29
29 <tal:block> 30 <tal:block>
30 <h3>Books</h3> 31 <h2 class="line">Books</h2>
31 <ul class="plain"> 32 <ul class="plain">
32 <li class="reference" tal:repeat="book books"><div><a tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+book[0]"><span 33 <li class="reference" tal:repeat="book books">
33 tal:replace="structure python:book[1]" /> </a></div> 34 <span tal:replace="structure python:book[1]" />
34 <div tal:condition="python:book[2] is not None"><a class="internal" tal:attributes="href python:'/en/resources/publications/'+here.getBookLinkFromID(book[2])">Book page</a></div> 35 <a class="external" target="_blank"
35 <div tal:repeat="ident python:book[3]"><a class="external" tal:attributes="href ident">See also</a></div> 36 tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+book[0]">More</a>
36 <div tal:repeat="ident python:book[4]"><a class="external" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also:</a></div> 37 <span tal:condition="python:book[2] is not None"><a class="internal" tal:attributes="href python:'/en/resources/publications/'+here.getBookLinkFromID(book[2])">Book page</a></span>
37 38 <span tal:repeat="ident python:book[3]"><a class="external" tal:attributes="href ident">See also</a></span>
39 <span tal:repeat="ident python:book[4]"><a class="external" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also</a></span>
38 </li> 40 </li>
39 </ul> 41 </ul>
40 </tal:block> 42 </tal:block>
41 43
42 <tal:block> 44 <tal:block>
43 <h3>Book Chapters</h3> 45 <h2 class="line">Book Chapters</h2>
44
45 <ul class="plain"> 46 <ul class="plain">
46 <li class="reference" tal:repeat="book book_article"><a tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+book[0]"><span 47 <li class="reference" tal:repeat="book book_article">
47 tal:replace="structure python:book[1]" /></a> 48 <span tal:replace="structure python:book[1]" />
48 <div tal:repeat="ident python:book[3]"><a class="external" tal:attributes="href ident">See also</a></div> 49 <a class="external" target="_blank" tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+book[0]">More</a>
49 <div tal:repeat="ident python:book[4]"><a class="external" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also:</a></div> 50 <span tal:repeat="ident python:book[3]"><a class="external" tal:attributes="href ident">See also</a></span>
50 51 <span tal:repeat="ident python:book[4]"><a class="external" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also:</a></span>
51 </li> 52 </li>
52 </ul> 53 </ul>
53 </tal:block> 54 </tal:block>
54 55
55 <tal:block> 56 <tal:block>
56 <h3>Articles</h3> 57 <h2 class="line">Articles</h2>
57 <ul class="plain"> 58 <ul class="plain">
58 <li class="reference" tal:repeat="book articles"><a tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+book[0]"><span 59 <li class="reference" tal:repeat="book articles">
59 tal:replace="structure python:book[1]" /> </a> 60 <span tal:replace="structure python:book[1]" />
60 <div tal:repeat="ident python:book[3]"><a class="external" tal:attributes="href ident">See also</a></div> 61 <a class="external" target="_blank" tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+book[0]">More</a>
61 <div tal:repeat="ident python:book[4]"><a class="external" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also:</a></div> 62 <span tal:repeat="ident python:book[3]"><a class="external" tal:attributes="href ident">See also</a></span>
62 63 <span tal:repeat="ident python:book[4]"><a class="external" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also</a></span>
63 </li> 64 </li>
64 </ul> 65 </ul>
65 </tal:block> 66 </tal:block>
66 67
67 </tal:block> 68 </tal:block>
68 69
69 <!-- 70 <p>
70 <p> 71 <a class="external" target="_blank" tal:attributes="href python:options['member'].getConeId()">More publications on PubMan</a>
71 <a href="/institutsbiblio/FMPro?-db=personal-www&amp;-max=1&amp;-Lay=ALL&amp;-format=search_inst_bib.html&amp;ID=[FMP-Field: ID]&amp;-Error=null.html&amp;-find" target="_new"> 72 </p>
72 search the institute's bibliography </a>
73 -->
74 <div class="item external">
75 <a target="_blank" tal:attributes="href python:options['member'].getConeId()"> More publications on PubMan</a>
76 </div>
77 </div> 73 </div>
78 74
79 </body> 75 </body>
80 </html> 76 </html>