N°1094.1 Adding icon (AttributeImage) to ServiceFamily and Service classes

SVN:trunk[5037]
This commit is contained in:
Guillaume Lajarige
2017-10-18 14:27:40 +00:00
parent bc3d03c462
commit 54858c63f5
2 changed files with 46 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2">
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
<classes>
<class id="Organization">
<fields>
@@ -951,6 +951,14 @@
<default_value/>
<is_null_allowed>false</is_null_allowed>
</field>
<field id="icon" xsi:type="AttributeImage">
<display_max_width>96</display_max_width>
<display_max_height>96</display_max_height>
<storage_max_width>256</storage_max_width>
<storage_max_height>256</storage_max_height>
<default_image/>
<is_null_allowed>true</is_null_allowed>
</field>
<field id="services_list" xsi:type="AttributeLinkedSet">
<linked_class>Service</linked_class>
<ext_key_to_me>servicefamily_id</ext_key_to_me>
@@ -967,6 +975,9 @@
<item id="name">
<rank>10</rank>
</item>
<item id="icon">
<rank>15</rank>
</item>
<item id="services_list">
<rank>20</rank>
</item>
@@ -1070,6 +1081,14 @@
<is_null_allowed>true</is_null_allowed>
<display_style>list</display_style>
</field>
<field id="icon" xsi:type="AttributeImage">
<display_max_width>96</display_max_width>
<display_max_height>96</display_max_height>
<storage_max_width>256</storage_max_width>
<storage_max_height>256</storage_max_height>
<default_image/>
<is_null_allowed>true</is_null_allowed>
</field>
<field id="customercontracts_list" xsi:type="AttributeLinkedSetIndirect">
<linked_class>lnkCustomerContractToService</linked_class>
<ext_key_to_me>service_id</ext_key_to_me>
@@ -1106,6 +1125,9 @@
<item id="status">
<rank>50</rank>
</item>
<item id="icon">
<rank>55</rank>
</item>
<item id="servicesubcategories_list">
<rank>60</rank>
</item>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2">
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
<classes>
<class id="Organization">
<fields>
@@ -935,6 +935,14 @@
<default_value/>
<is_null_allowed>false</is_null_allowed>
</field>
<field id="icon" xsi:type="AttributeImage">
<display_max_width>96</display_max_width>
<display_max_height>96</display_max_height>
<storage_max_width>256</storage_max_width>
<storage_max_height>256</storage_max_height>
<default_image/>
<is_null_allowed>true</is_null_allowed>
</field>
<field id="services_list" xsi:type="AttributeLinkedSet">
<linked_class>Service</linked_class>
<ext_key_to_me>servicefamily_id</ext_key_to_me>
@@ -951,6 +959,9 @@
<item id="name">
<rank>10</rank>
</item>
<item id="icon">
<rank>15</rank>
</item>
<item id="services_list">
<rank>20</rank>
</item>
@@ -1054,6 +1065,14 @@
<is_null_allowed>true</is_null_allowed>
<display_style>list</display_style>
</field>
<field id="icon" xsi:type="AttributeImage">
<display_max_width>96</display_max_width>
<display_max_height>96</display_max_height>
<storage_max_width>256</storage_max_width>
<storage_max_height>256</storage_max_height>
<default_image/>
<is_null_allowed>true</is_null_allowed>
</field>
<field id="customercontracts_list" xsi:type="AttributeLinkedSetIndirect">
<linked_class>lnkCustomerContractToService</linked_class>
<ext_key_to_me>service_id</ext_key_to_me>
@@ -1106,6 +1125,9 @@
<item id="status">
<rank>50</rank>
</item>
<item id="icon">
<rank>55</rank>
</item>
<item id="servicesubcategories_list">
<rank>60</rank>
</item>