Commit 32282e9b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

improve Predicate_view.

* group membership criteria related items.
* display base category id in membership values lists.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26569 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d1b34a3
......@@ -75,7 +75,11 @@ for item in mixed_list:\n
for x in fallback_category.getCategoryChildCompactLogicalPathItemList(base=1) if x[0]])\n
break\n
\n
category_list.extend(item_list)\n
for i in item_list:\n
if i[0] != \'\':\n
category_list.append([\'%s/%s\' % (item, i[0]), i[1]])\n
else:\n
category_list.append(i)\n
\n
return category_list\n
</string> </value>
......@@ -131,6 +135,7 @@ return category_list\n
<string>append</string>
<string>$append0</string>
<string>x</string>
<string>i</string>
</tuple>
</value>
</item>
......
......@@ -58,7 +58,8 @@
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>center left</string>
<string>center right</string>
<string>bottom</string>
<string>hidden</string>
</list>
......@@ -77,7 +78,16 @@
</value>
</item>
<item>
<key> <string>center</string> </key>
<key> <string>center left</string> </key>
<value>
<list>
<string>my_membership_criterion_base_category_list</string>
<string>my_multimembership_criterion_base_category_list</string>
</list>
</value>
</item>
<item>
<key> <string>center right</string> </key>
<value>
<list>
<string>my_membership_criterion_category_list</string>
......@@ -99,7 +109,6 @@
<value>
<list>
<string>my_title</string>
<string>my_criterion_property_list</string>
<string>my_string_index</string>
<string>my_int_index</string>
<string>my_test_method_id</string>
......@@ -110,8 +119,7 @@
<key> <string>right</string> </key>
<value>
<list>
<string>my_membership_criterion_base_category_list</string>
<string>my_multimembership_criterion_base_category_list</string>
<string>my_criterion_property_list</string>
</list>
</value>
</item>
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>size</string> </key>
<value> <int>5</int> </value>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -261,11 +261,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
1164
\ No newline at end of file
1165
\ 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