# HG changeset patch
# User dwinter
# Date 1326442748 -3600
# Node ID 51ed6ad43383c72f01e62914b50ff33b317457d5
# Parent e7733b6ba3432d88f73e34078bdf77db92a9f777
template for the levels in overview added in zpt
diff -r e7733b6ba343 -r 51ed6ad43383 MPIWGThesaurus.py
--- a/MPIWGThesaurus.py Fri Jan 13 09:14:38 2012 +0100
+++ b/MPIWGThesaurus.py Fri Jan 13 09:19:08 2012 +0100
@@ -480,7 +480,9 @@
def getEntriesFormatted(self,entries,type):
errorString="
template with name levelFormatted does not exist in the thesaurus folder!"
if not hasattr(self,'levelFormatted'):
- return errorString
+ pt=PageTemplateFile(os.path.join(package_home(globals()),'zpt','levelFormatted.zpt')).__of__(self)
+ return pt(level1_entries=entries,type=type)
+
return self.levelFormatted(level1_entries=entries,type=type)
diff -r e7733b6ba343 -r 51ed6ad43383 zpt/levelFormatted.zpt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/levelFormatted.zpt Fri Jan 13 09:19:08 2012 +0100
@@ -0,0 +1,31 @@
+
+
+
\ No newline at end of file