Commit ab221da9 authored by Aurel's avatar Aurel

in dialog that update fieds according to glossary, display a bit of the term...

in dialog that update fieds according to glossary, display a bit of the term description in the list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21635 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4c05f59a
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:[(\'\', \'\')] + [(i.getTitle(), i.getUid()) for i in CONTEXTS[\'cell\'].term_list]</string> </value> <value> <string>python:[(\'\', \'\')] + [("%s, %s" %(i.getTitle(), i.getDescription()[:30]), i.getUid()) for i in CONTEXTS[\'cell\'].term_list]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:[(\'\', \'\')] + [(i.getTitle(), i.getUid()) for i in CONTEXTS[\'cell\'].term_list]</string> </value> <value> <string>python:[(\'\', \'\')] + [("%s, %s" %(i.getTitle(), i.getDescription()[:30]), i.getUid()) for i in CONTEXTS[\'cell\'].term_list]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
243 244
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment