Commit 474f2840 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: show Computer Network on the Instance Tree

parent 6129df7d
...@@ -98,6 +98,7 @@ ...@@ -98,6 +98,7 @@
<string>listbox_is_slave</string> <string>listbox_is_slave</string>
<string>listbox_aggregate_parent_reference</string> <string>listbox_aggregate_parent_reference</string>
<string>my_list_image</string> <string>my_list_image</string>
<string>listbox_aggregate_parent_subordination_title</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -131,6 +131,10 @@ ...@@ -131,6 +131,10 @@
<string>source_reference</string> <string>source_reference</string>
<string>Software Type</string> <string>Software Type</string>
</tuple> </tuple>
<tuple>
<string>aggregate_parent_subordination_title</string>
<string>Computer Network</string>
</tuple>
<tuple> <tuple>
<string>aggregate_parent_title</string> <string>aggregate_parent_title</string>
<string>Compute Node</string> <string>Compute Node</string>
...@@ -245,6 +249,10 @@ ...@@ -245,6 +249,10 @@
<string>aggregate_parent_reference</string> <string>aggregate_parent_reference</string>
<string>SoftwareInstance_getComputeNodeUrl</string> <string>SoftwareInstance_getComputeNodeUrl</string>
</tuple> </tuple>
<tuple>
<string>aggregate_parent_subordination_title</string>
<string>SoftwareInstance_getComputeNodeUrl</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>default</string>
<string>display_width</string>
<string>editable</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_aggregate_parent_subordination_title</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_string_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Compute Network</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell.getAggregate() is not None and cell.getAggregateValue().getParentValue().getSubordinationTitle() or ""</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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