comparison zpt/staff/edit_main.zpt @ 170:485bf377913a

fix staff editing pages.
author casties
date Fri, 07 Jun 2013 16:29:34 +0200
parents ee79f6ba8d01
children 37c2c29ab7ed
comparison
equal deleted inserted replaced
169:2da62e93a1c6 170:485bf377913a
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
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:define-macro="page" 3 <html xmlns="http://www.w3.org/1999/xhtml"
4 metal:define-macro="page"
4 tal:define="global onload nothing; 5 tal:define="global onload nothing;
5 global menusel nothing; 6 global menusel nothing;
6 global staffroot python:here.MPIWGrootURL()+'/members'; 7 global staffroot python:here.MPIWGrootURL()+'/members';
7 global root string:$staffroot/${here/getUsername};"> 8 global root string:$staffroot/${here/getUsername};">
8 <head> 9 <head>
27 28
28 <!-- <span tal:attributes="class python:here.getPathStyle('awards', menusel, 'mainmenu')"><a href="editAwards">Awards</a></span>--> 29 <!-- <span tal:attributes="class python:here.getPathStyle('awards', menusel, 'mainmenu')"><a href="editAwards">Awards</a></span>-->
29 <span tal:attributes="class python:here.getPathStyle('talks', menusel, 'mainmenu')"><a tal:attributes="href string:$root/editTalks">Talks</a></span> 30 <span tal:attributes="class python:here.getPathStyle('talks', menusel, 'mainmenu')"><a tal:attributes="href string:$root/editTalks">Talks</a></span>
30 <span tal:attributes="class python:here.getPathStyle('teaching', menusel, 'mainmenu')"><a tal:attributes="href string:$root/editTeaching">Teaching</a></span> 31 <span tal:attributes="class python:here.getPathStyle('teaching', menusel, 'mainmenu')"><a tal:attributes="href string:$root/editTeaching">Teaching</a></span>
31 <span tal:attributes="class python:here.getPathStyle('additionalLink', menusel, 'mainmenu')"><a tal:attributes="href string:$root/editAdditionalLinks">Additional links</a></span> 32 <span tal:attributes="class python:here.getPathStyle('additionalLink', menusel, 'mainmenu')"><a tal:attributes="href string:$root/editAdditionalLinks">Additional links</a></span>
32 33 <span class="mainmenu"><a tal:attributes="href string:${here/en/MPIWGrootURL}/staff/members/${here/getUsername}" target="_blank">View</a></span>
33 <span class="mainmenu"><a tal:attributes="href python:here.en.MPIWGrootURL()+'/staff/members/'+here.getUsername()" target="_blank">View</a></span>
34 </div> 34 </div>
35 <div class="content"> 35 <div class="content">
36 <tal:block metal:define-slot="body"/> 36 <tal:block metal:define-slot="body"/>
37 </div> 37 </div>
38 </body> 38 </body>