Mercurial > hg > MPIWGWeb
annotate zpt/staff/member_index_html.zpt @ 201:81a8177ca354
shows where a entry comes from in editing mode
author | dwinter |
---|---|
date | Wed, 26 Jun 2013 16:49:31 +0200 |
parents | 124efbedd35b |
children | 2598210ada7a |
rev | line source |
---|---|
3 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 <html metal:use-macro="here/main_template/macros/page"> | |
4 <head> | |
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
6 <metal:block metal:fill-slot="head"> | |
90 | 7 <meta name="description" content="member"/> |
8 <tal:block | |
3 | 9 tal:define="global member options/member; global key member/getKey; |
10 global username member/getUsername; global content member/getContent; | |
191
90d44df497a6
updated breadcrumb handling, works for members now.
casties
parents:
140
diff
changeset
|
11 global baseUrl string:$root/${secmap/staff}/members/$username; |
90d44df497a6
updated breadcrumb handling, works for members now.
casties
parents:
140
diff
changeset
|
12 global crumbs member/getBreadcrumbs;" /> |
3 | 13 </metal:block> |
14 </head> | |
15 <body> | |
16 <!-- center text --> | |
17 <div class="center" metal:fill-slot="center"> | |
18 <div> | |
19 <!-- image --> | |
140 | 20 <div class="figure" tal:define="imgUrl member/getPublishedImageUrl" tal:condition="imgUrl"> |
21 <img tal:attributes="src string:$imgUrl&dw=165"/> | |
22 </div> | |
3 | 23 <!-- name and title --> |
24 <h1> | |
90 | 25 <span class="mpiwg-first_name" tal:content="content/first_name" /> |
26 <span class="mpiwg-last_name" tal:content="content/last_name" /> | |
3 | 27 </h1> |
28 <!-- status --> | |
29 <h3 tal:content="content/status" /> | |
30 <h3 tal:content="content/titles_new" /> | |
31 <h3 tal:condition="content/funded_by"> | |
32 Funded by the <span tal:replace="content/funded_by" /> | |
33 </h3> | |
34 <p> | |
35 Residence: <span tal:replace="content/date_stay_at_mpiwg" /> | |
36 </p> | |
37 </div> | |
100 | 38 |
3 | 39 <!-- profile --> |
140 | 40 <div class="clear"> |
41 <tal:x tal:condition="content/profile"> | |
42 | |
43 <h2 class="line">Profile</h2> | |
44 | |
45 <div class="profile" tal:content="structure content/profile"> [FMP-Field: CV] </div> | |
46 </tal:x> | |
86 | 47 <tal:x tal:condition="not:content/profile"> |
48 <tal:y tal:replace="structure member/generateProfileForPerson" /> | |
3 | 49 </tal:x> |
50 </div> | |
100 | 51 |
3 | 52 <!-- publications --> |
140 | 53 <!-- tal:define="publications python:here.ZDBInlineSearch(_table='pubmanbiblio',key_main=key,_op_key_main='eq')" --> |
86 | 54 <tal:block |
140 | 55 tal:define="publications python:member.getPublicationsFromPubman(limit=6)" |
3 | 56 tal:condition="publications"> |
140 | 57 |
58 <h2 class="line">Selected publications</h2> | |
59 | |
60 <ul class="plain"> | |
61 <li class="reference" tal:repeat="publication publications"> | |
62 <span tal:content="structure python:publication[1]"/> | |
63 <a class="external" target="_blank" | |
64 tal:attributes="href python:'http://pubman.mpiwg-berlin.mpg.de/pubman/faces/viewItemFullPage.jsp?itemId='+publication[0]">More</a> | |
65 <span tal:condition="python:publication[2] is not None"><a class="internal" tal:attributes="href python:'/en/resources/publications/'+here.getBookLinkFromID(publication[2])">Book page</a></span> | |
66 <span tal:repeat="ident python:publication[3]"><a class="external" target="_blank" tal:attributes="href ident">See also</a></span> | |
67 <span tal:repeat="ident python:publication[4]"><a class="external" target="_blank" tal:attributes="href python:ident[1]" tal:content="python:ident[0]">See also</a></span> | |
68 </li> | |
69 </ul> | |
38 | 70 <p tal:condition="python:len(publications)>5"> |
140 | 71 <a class="internal" tal:attributes="href string:$baseUrl/publications_full_html">More publications</a> |
3 | 72 </p> |
73 </tal:block> | |
100 | 74 |
3 | 75 <!-- Talks --> |
100 | 76 <tal:block tal:define="talks member/getTalks" tal:condition="talks"> |
140 | 77 |
78 <h2 class="line">Talks and presentations</h2> | |
79 | |
100 | 80 <table class="items shorter"> |
81 <tr tal:repeat="talk python:here.ZDBSlice(talks,size=5)"> | |
140 | 82 <td width="25%"> |
3 | 83 <a tal:omit-tag="not:talk/link" tal:attributes="href talk/link" tal:content="talk/date" /> |
100 | 84 </td> |
85 <td> | |
3 | 86 <a tal:omit-tag="not:talk/link" tal:attributes="href talk/link"> <span tal:replace="talk/place" /> – <i><span |
87 tal:replace="talk/title" /></i> | |
88 </a> | |
100 | 89 </td> |
90 </tr> | |
91 </table> | |
3 | 92 <p tal:condition="python:len(talks)>5"> |
100 | 93 <a class="internal" tal:attributes="href string:$baseUrl/talks_full_html">More</a> |
3 | 94 </p> |
95 </tal:block> | |
100 | 96 |
3 | 97 <!-- Teaching activities --> |
100 | 98 <tal:block tal:define="teachings member/getTeaching" tal:condition="teachings"> |
140 | 99 |
100 <h2 class="line">Teaching activities</h2> | |
101 | |
100 | 102 <table class="items shorter"> |
103 <tr tal:repeat="teaching python:here.ZDBSlice(teachings, size=5)"> | |
140 | 104 <td width="25%"> |
3 | 105 <a tal:omit-tag="not:teaching/link" tal:attributes="href teaching/link"> <span tal:replace="teaching/date" /> |
106 </a> | |
100 | 107 </td> |
108 <td> | |
3 | 109 <a tal:omit-tag="not:teaching/link" tal:attributes="href teaching/link"> <span tal:replace="teaching/place" /> |
110 – <i><span tal:replace="teaching/title" /></i> | |
111 </a> | |
100 | 112 </td> |
113 </tr> | |
114 </table> | |
115 <p tal:condition="python:len(teachings)>5"> | |
116 <a class="internal" tal:attributes="href string:$baseUrl/teaching_full_html">More</a> | |
117 </p> | |
3 | 118 </tal:block> |
100 | 119 |
120 </div><!-- /center --> | |
3 | 121 |
122 | |
123 <!--sidebar content --> | |
124 <div class="sidebar" metal:fill-slot="sidebar"> | |
125 <div class="sideblock"> | |
126 <h2>Contact</h2> | |
127 <div class="item noline"> | |
86 | 128 Max Planck Institute for the History of Science <br /> Boltzmannstraße 22 <br /> 14195 Berlin <br /> Germany |
3 | 129 </div> |
130 <div class="item" tal:condition="python:content.telefon_p=='yes'"> | |
86 | 131 tel.: <span tal:content="content/telefon">[FMP-Field: telefon]</span> <br /> |
3 | 132 </div> |
133 <div class="item" tal:condition="python:content.fax_p=='yes'"> | |
86 | 134 fax: <span tal:content="content/fax">[FMP-Field: fax]</span> <br /> |
3 | 135 </div> |
86 | 136 <div class="item" tal:condition="python:content.e_mail_p=='yes'"> |
137 <a class="email" tal:attributes="href string:mailto:${content/e_mail}" tal:content="content/e_mail">[FMP-Field: | |
3 | 138 e_mail]</a> |
139 </div> | |
86 | 140 <div class="item" tal:condition="python:content.e_mail2_p=='yes'"> |
141 <a class="email" tal:attributes="href string:mailto:${content/e_mail2}" tal:content="content/e_mail2">[FMP-Field: | |
3 | 142 e_mail2]</a> (external) |
143 </div> | |
144 </div> | |
145 | |
86 | 146 <div class="sideblock" tal:define="projects python:here.getProjectFolder().getProjectsOfMember(key=key)" |
147 tal:condition="projects"> | |
3 | 148 <h2>Projects</h2> |
40 | 149 <div class="project" tal:repeat="project projects"> |
150 <a tal:attributes="href python:project.getUrl(baseUrl=root+'/'+secmap['research']+'/projects/')" | |
86 | 151 tal:content="project/getLabel" /> |
3 | 152 </div> |
153 </div> | |
154 | |
155 <div class="sideblock"> | |
156 <h2>Related Material</h2> | |
195 | 157 <div class="item download" tal:condition="python:here.content.cv_p=='yes'"> |
3 | 158 <a target="_blank" href="downloadCV">Download Curriculum Vitae</a> |
159 </div> | |
195 | 160 <div class="item download" tal:condition="python:here.content.publications_p=='yes'"> |
86 | 161 <a target="_blank" href="downloadPublications">Download Publication List</a> <br /> |
3 | 162 </div> |
86 | 163 <div class="item external"> |
164 <a target="_blank" tal:attributes="href python:member.getConeId()"> See publications on PubMan</a> | |
3 | 165 </div> |
86 | 166 <div class="item external" |
3 | 167 tal:repeat="addLink python:here.ZDBInlineSearch(_table='additionallink',key_main=key,_op_key_main='eq',_sort='priority',published='yes')"> |
168 <a target="_blank" tal:content="addLink/title" tal:attributes="href addLink/link"> Daston on the History of Science | |
169 (listen to CBC-Interview, Fall 2007)</a> | |
170 </div> | |
171 </div> | |
172 </div> | |
173 <!-- sidebar --> | |
174 </body> | |
175 </html> |