Mercurial > hg > MPIWGWeb
annotate zpt/department/manage_config.zpt @ 178:ee0fbb711f17
fix problem with mixed case person keys
author | casties |
---|---|
date | Tue, 11 Jun 2013 17:51:55 +0200 |
parents | 7aaed5218d55 |
children |
rev | line source |
---|---|
9 | 1 <html> |
2 <div tal:replace="structure here/manage_page_header">Header</div> | |
3 <!-- ZOPE management tabs --> | |
13 | 4 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing" tal:replace="structure here/manage_tabs">Tabs</h2> |
9 | 5 <!-- end of ZOPE management tabs --> |
6 <h2>Change MPIWG Department</h2> | |
7 <form action="changeMPIWGDepartment" method="post"> | |
13 | 8 <table> |
9 <tr> | |
10 <td><i>Weight</i> (number for sorting departments)</td> | |
11 <td><input type="text" size="5" name="weight" tal:attributes="value here/weight|string:0"></td> | |
12 </tr> | |
13 <tr> | |
14 <td><i>Project ID</i> (number for identifying projects)</td> | |
15 <td><input type="text" size="5" name="project_id" tal:attributes="value here/project_id|string:0"></td> | |
16 </tr> | |
17 <tr> | |
94
7aaed5218d55
added staffdb_key to departments. getDepartment also gets by id.
casties
parents:
13
diff
changeset
|
18 <td><i>Key in staff db (personalwww)</i></td> |
7aaed5218d55
added staffdb_key to departments. getDepartment also gets by id.
casties
parents:
13
diff
changeset
|
19 <td><input type="text" size="20" name="staffdb_key" tal:attributes="value here/staffdb_key|nothing"></td> |
7aaed5218d55
added staffdb_key to departments. getDepartment also gets by id.
casties
parents:
13
diff
changeset
|
20 </tr> |
7aaed5218d55
added staffdb_key to departments. getDepartment also gets by id.
casties
parents:
13
diff
changeset
|
21 <tr> |
13 | 22 <td><i>Director</i></td> |
23 <td><input type="text" size="40" name="director" tal:attributes="value here/director|nothing"></td> | |
24 </tr> | |
25 <tr> | |
26 <td><i>ID/username of director</i></td> | |
27 <td><input type="text" size="20" name="director_id" tal:attributes="value here/director_id|nothing"></td> | |
28 </tr> | |
29 <tr> | |
30 <td><i>Type in English</i> (e.g. "Max Planck Research Group")</td> | |
31 <td><input type="text" size="20" name="type_en" tal:attributes="value python:here.getType(lang='en')"></td> | |
32 </tr> | |
33 <tr> | |
34 <td><i>Type in German</i></td> | |
35 <td><input type="text" size="20" name="type_de" tal:attributes="value python:here.getType(lang='de')"></td> | |
36 </tr> | |
37 <tr> | |
38 <td><i>Title in English</i> (e.g. "Art and Knowledge in Pre-Modern Europe")</td> | |
39 <td><input type="text" size="40" name="title_en" tal:attributes="value python:here.getTitle(lang='en')"></td> | |
40 </tr> | |
41 <tr> | |
42 <td><i>Title in German</i></td> | |
43 <td><input type="text" size="40" name="title_de" tal:attributes="value python:here.getTitle(lang='de')"></td> | |
44 </tr> | |
9 | 45 |
13 | 46 </table> |
47 <input type="submit"> | |
9 | 48 </form> |
49 </html> |