Mercurial > hg > MPIWGWeb
comparison zpt/staff/edit_basic.zpt @ 170:485bf377913a
fix staff editing pages.
author | casties |
---|---|
date | Fri, 07 Jun 2013 16:29:34 +0200 |
parents | 6e0bea9510c9 |
children |
comparison
equal
deleted
inserted
replaced
169:2da62e93a1c6 | 170:485bf377913a |
---|---|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
3 <html metal:use-macro="here/mainEditFile/macros/page"> | 3 <html metal:use-macro="here/mainEditFile/macros/page"> |
4 <body> | 4 <body> |
5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:maindata"/> | 5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:maindata"/> |
6 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> | 6 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> |
7 <form action="" method="get"> | 7 <form tal:attributes="action string:$root/edit" method="get"> |
8 <table> | 8 <table> |
9 <tr> | 9 <tr> |
10 <td><b>Name</b></td> | 10 <td><b>Name</b></td> |
11 <td><input size="30" tal:attributes="value here/content/last_name" name="last_name"/></td> | 11 <td><input size="30" tal:attributes="value here/content/last_name" name="last_name"/></td> |
12 </tr> | 12 </tr> |
26 <td><b>Department</b></td> | 26 <td><b>Department</b></td> |
27 <td tal:content="here/content/department"/> | 27 <td tal:content="here/content/department"/> |
28 </tr> | 28 </tr> |
29 <tr> | 29 <tr> |
30 <td><b>Stay</b></td> | 30 <td><b>Stay</b></td> |
31 <td><span tal:content="here/content/date_from"/> to | 31 <td><span tal:content="python:here.getDateString(date=here.content.date_from)"/> to |
32 <span tal:content="here/content/date_to"/> | 32 <span tal:content="python:here.getDateString(date=here.content.date_to)"/> |
33 </td> | 33 </td> |
34 <tr> | 34 <tr> |
35 <td><b>Funded by (external funding)</b></td> | 35 <td><b>Funded by (external funding)</b></td> |
36 <td><input size="30" tal:attributes="value here/content/funded_by" name="funded_by"/></td> | 36 <td><input size="30" tal:attributes="value here/content/funded_by" name="funded_by"/></td> |
37 </tr> | 37 </tr> |
38 | 38 </table> |
39 <!-- <tr> | 39 <table> |
40 <td><b>Home institution</b></td> | |
41 <td><input size="30" tal:attributes="value here/content/home_inst" name="home_inst"></td> | |
42 </tr>--> | |
43 </table> | |
44 <table> | |
45 <tr><th></th><th></th><th align="left">show</th></tr> | 40 <tr><th></th><th></th><th align="left">show</th></tr> |
46 <tr> | 41 <tr> |
47 <td><b>email (MPIWG)</b></td> | 42 <td><b>email (MPIWG)</b></td> |
48 <td tal:content="here/content/e_mail"/> | 43 <td tal:content="here/content/e_mail"/> |
49 <td valign="top" tal:define="name string:e_mail_p; value here/content/e_mail_p;"> | 44 <td valign="top" tal:define="name string:e_mail_p; value here/content/e_mail_p;"> |
60 <tr> | 55 <tr> |
61 <td><b>Room</b></td> | 56 <td><b>Room</b></td> |
62 <td><input size="30" name="room_no" tal:attributes="value here/content/room_no"/></td> | 57 <td><input size="30" name="room_no" tal:attributes="value here/content/room_no"/></td> |
63 <td>(never published)</td> | 58 <td>(never published)</td> |
64 </tr> | 59 </tr> |
65 | |
66 <!-- <tr> | |
67 <td><b>Private homepage</b></td> | |
68 <td><input size="30" name="private_homepage" tal:attributes="value python:here.decode(person.private_homepage)"></td> | |
69 <td> </td> | |
70 </tr> | |
71 --> | |
72 <tr> | 60 <tr> |
73 <td><b>Telephone</b></td> | 61 <td><b>Telephone</b></td> |
74 <td><input size="30" name="telefon" tal:attributes="value here/content/telefon"/></td> | 62 <td><input size="30" name="telefon" tal:attributes="value here/content/telefon"/></td> |
75 <td valign="top" tal:define="name string:telefon_p; value here/content/telefon_p;"> | 63 <td valign="top" tal:define="name string:telefon_p; value here/content/telefon_p;"> |
76 <span metal:use-macro="here/common_template/macros/yesno_input_radio"/> | 64 <span metal:use-macro="here/common_template/macros/yesno_input_radio"/> |
84 </td> | 72 </td> |
85 </tr> | 73 </tr> |
86 </table> | 74 </table> |
87 <input type="submit" value="submit"/> | 75 <input type="submit" value="submit"/> |
88 </form> | 76 </form> |
89 <p>To add references to your homepage at other institutions please use <a href="editAdditionalLinks">the additional links tab</a></p> | 77 <p>To add references to your homepage at other institutions please use <a tal:attributes="href string:$root/editAdditionalLinks">the additional links tab</a></p> |
90 </tal:block> | 78 </tal:block> |
91 </body> | 79 </body> |
92 </html> | 80 </html> |
93 | 81 |