--- MPIWGWeb/MPIWGStaff.py 2008/08/20 12:24:29 1.10.2.44 +++ MPIWGWeb/MPIWGStaff.py 2008/08/25 11:30:09 1.10.2.47 @@ -362,6 +362,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend return pt() mainEditFile=PageTemplateFile(os.path.join(package_home(globals()),'zpt','editMPIWGStaff_main.zpt')) + addPublicationsBib=PageTemplateFile(os.path.join(package_home(globals()),'zpt','addPublicationsBib.zpt')) def getPathStyle(self, path, selected, style=""): """returns a string with the given style + 'sel' if path == selected.""" @@ -514,11 +515,11 @@ class MPIWGStaff(CatalogAware,ZSQLExtend for found in self.sortPriority(founds): ret+=found.interest+"
" - founds=self.ZSQLInlineSearch(_table='current_work',key_main=person.key) - if founds: + + if (person.current_work) and (not person.current_work==""): ret="Current work:

" - for found in self.sortPriority(founds): - ret+=found.current+"
" + + ret+=person.current_work+"
" ret+="
" ret+=self.formatAscii(person.cv)