Commit dc46a797 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Update Computer_viewCurrentUsage

Adjustments for listboxes.
parent c525d7a5
...@@ -91,15 +91,16 @@ ...@@ -91,15 +91,16 @@
<value> <value>
<list> <list>
<string>my_busy_computer_partition_list_image</string> <string>my_busy_computer_partition_list_image</string>
<string>listbox_software_release</string>
<string>listbox_installation_state</string> <string>listbox_installation_state</string>
<string>listbox_usage</string> <string>listbox_usage</string>
<string>my_busy_computer_partition_list_creation_date</string> <string>my_busy_computer_partition_list_creation_date</string>
<string>my_busy_computer_partition_list_status</string> <string>my_busy_computer_partition_list_status</string>
<string>my_busy_computer_partition_list_owner_title</string> <string>my_busy_computer_partition_list_owner_title</string>
<string>my_busy_computer_partition_list_instance_title</string>
<string>listbox_installation_status</string> <string>listbox_installation_status</string>
<string>my_busy_computer_partition_list_hosting_subscription_title</string> <string>my_busy_computer_partition_list_hosting_subscription_title</string>
<string>my_busy_computer_partition_list_instance_title</string>
<string>listbox_image</string>
<string>listbox_software_release</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -27,6 +27,33 @@ ...@@ -27,6 +27,33 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox</string> </value> <value> <string>listbox</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value>
<object>
<klass>
<global name="PropertyGetter" module="Products.ERP5Type.Accessor.Constant"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>isIndexable</string> </value>
</item>
<item>
<key> <string>_id</string> </key>
<value> <string>isIndexable</string> </value>
</item>
<item>
<key> <string>value</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
<value> <value>
...@@ -101,7 +128,9 @@ ...@@ -101,7 +128,9 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
...@@ -128,7 +157,7 @@ ...@@ -128,7 +157,7 @@
<list> <list>
<tuple> <tuple>
<string>software_release</string> <string>software_release</string>
<string>Software Release</string> <string>Title</string>
</tuple> </tuple>
<tuple> <tuple>
<string>url_string</string> <string>url_string</string>
...@@ -152,7 +181,7 @@ ...@@ -152,7 +181,7 @@
<item> <item>
<key> <string>count_method</string> </key> <key> <string>count_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -176,7 +205,7 @@ ...@@ -176,7 +205,7 @@
<item> <item>
<key> <string>list_method</string> </key> <key> <string>list_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -245,6 +274,19 @@ ...@@ -245,6 +274,19 @@
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: \'computer_software_release_selection_%s\' % here.getUid()</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<global name="Method" module="Products.Formulator.MethodField"/> <global name="Method" module="Products.Formulator.MethodField"/>
</pickle> </pickle>
...@@ -257,7 +299,7 @@ ...@@ -257,7 +299,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="4" aka="AAAAAAAAAAQ="> <record id="5" aka="AAAAAAAAAAU=">
<pickle> <pickle>
<global name="Method" module="Products.Formulator.MethodField"/> <global name="Method" module="Products.Formulator.MethodField"/>
</pickle> </pickle>
......
...@@ -19,6 +19,33 @@ ...@@ -19,6 +19,33 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_software_release</string> </value> <value> <string>listbox_software_release</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value>
<object>
<klass>
<global name="PropertyGetter" module="Products.ERP5Type.Accessor.Constant"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>isIndexable</string> </value>
</item>
<item>
<key> <string>_id</string> </key>
<value> <string>isIndexable</string> </value>
</item>
<item>
<key> <string>value</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
<value> <value>
......
...@@ -20,6 +20,33 @@ ...@@ -20,6 +20,33 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_busy_computer_partition_list_instance_title</string> </value> <value> <string>my_busy_computer_partition_list_instance_title</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value>
<object>
<klass>
<global name="PropertyGetter" module="Products.ERP5Type.Accessor.Constant"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>isIndexable</string> </value>
</item>
<item>
<key> <string>_id</string> </key>
<value> <string>isIndexable</string> </value>
</item>
<item>
<key> <string>value</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
<value> <value>
......
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