mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 15:52:24 +02:00
N°6381 - Add rank on Enums of default DataModel
This commit is contained in:
@@ -43,9 +43,11 @@
|
||||
</properties>
|
||||
<fields>
|
||||
<field id="status" xsi:type="AttributeEnum">
|
||||
<sort_type>rank</sort_type>
|
||||
<values>
|
||||
<value id="new">
|
||||
<code>new</code>
|
||||
<rank>10</rank>
|
||||
<style>
|
||||
<main_color>$ibo-lifecycle-new-state-primary-color</main_color>
|
||||
<complementary_color>$ibo-lifecycle-new-state-secondary-color</complementary_color>
|
||||
@@ -54,6 +56,7 @@
|
||||
</value>
|
||||
<value id="assigned">
|
||||
<code>assigned</code>
|
||||
<rank>40</rank>
|
||||
<style>
|
||||
<main_color>$ibo-lifecycle-neutral-state-primary-color</main_color>
|
||||
<complementary_color>$ibo-lifecycle-neutral-state-secondary-color</complementary_color>
|
||||
@@ -62,9 +65,11 @@
|
||||
</value>
|
||||
<value id="planned">
|
||||
<code>planned</code>
|
||||
<rank>50</rank>
|
||||
</value>
|
||||
<value id="approved">
|
||||
<code>approved</code>
|
||||
<rank>60</rank>
|
||||
<style>
|
||||
<main_color>$ibo-lifecycle-success-state-primary-color</main_color>
|
||||
<complementary_color>$ibo-lifecycle-success-state-secondary-color</complementary_color>
|
||||
@@ -73,6 +78,7 @@
|
||||
</value>
|
||||
<value id="closed">
|
||||
<code>closed</code>
|
||||
<rank>100</rank>
|
||||
<style>
|
||||
<main_color>$ibo-lifecycle-frozen-state-primary-color</main_color>
|
||||
<complementary_color>$ibo-lifecycle-frozen-state-secondary-color</complementary_color>
|
||||
@@ -81,6 +87,7 @@
|
||||
</value>
|
||||
<value id="rejected">
|
||||
<code>rejected</code>
|
||||
<rank>30</rank>
|
||||
<style>
|
||||
<main_color>$ibo-lifecycle-failure-state-primary-color</main_color>
|
||||
<complementary_color>$ibo-lifecycle-failure-state-secondary-color</complementary_color>
|
||||
@@ -98,6 +105,7 @@
|
||||
<is_null_allowed>true</is_null_allowed>
|
||||
</field>
|
||||
<field id="category" xsi:type="AttributeEnum">
|
||||
<sort_type>label</sort_type>
|
||||
<values>
|
||||
<value id="hardware">
|
||||
<code>hardware</code>
|
||||
|
||||
@@ -64,9 +64,9 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
//
|
||||
|
||||
Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:Change' => 'Ticket de changement',
|
||||
'Class:Change' => 'Ticket de Changement',
|
||||
'Class:Change+' => '',
|
||||
'Class:Change/Attribute:status' => 'Etat',
|
||||
'Class:Change/Attribute:status' => 'Statut',
|
||||
'Class:Change/Attribute:status+' => '',
|
||||
'Class:Change/Attribute:status/Value:new' => 'Nouveau',
|
||||
'Class:Change/Attribute:status/Value:new+' => '',
|
||||
@@ -80,10 +80,10 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:Change/Attribute:status/Value:approved+' => '',
|
||||
'Class:Change/Attribute:status/Value:closed' => 'Fermé',
|
||||
'Class:Change/Attribute:status/Value:closed+' => '',
|
||||
'Class:Change/Attribute:category' => 'Categorie',
|
||||
'Class:Change/Attribute:category' => 'Catégorie',
|
||||
'Class:Change/Attribute:category+' => '',
|
||||
'Class:Change/Attribute:category/Value:application' => 'application',
|
||||
'Class:Change/Attribute:category/Value:application+' => 'application',
|
||||
'Class:Change/Attribute:category/Value:application' => 'Application',
|
||||
'Class:Change/Attribute:category/Value:application+' => 'Application',
|
||||
'Class:Change/Attribute:category/Value:hardware' => 'Matériel',
|
||||
'Class:Change/Attribute:category/Value:hardware+' => 'Matériel',
|
||||
'Class:Change/Attribute:category/Value:network' => 'Réseau',
|
||||
@@ -92,8 +92,8 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:Change/Attribute:category/Value:other+' => 'Autre',
|
||||
'Class:Change/Attribute:category/Value:software' => 'Logiciel',
|
||||
'Class:Change/Attribute:category/Value:software+' => 'Logiciel',
|
||||
'Class:Change/Attribute:category/Value:system' => 'système',
|
||||
'Class:Change/Attribute:category/Value:system+' => 'système',
|
||||
'Class:Change/Attribute:category/Value:system' => 'Système',
|
||||
'Class:Change/Attribute:category/Value:system+' => 'Système',
|
||||
'Class:Change/Attribute:reject_reason' => 'Raison du rejet',
|
||||
'Class:Change/Attribute:reject_reason+' => '',
|
||||
'Class:Change/Attribute:changemanager_id' => 'Responsable du changement',
|
||||
@@ -110,7 +110,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:Change/Attribute:approval_date+' => '',
|
||||
'Class:Change/Attribute:fallback_plan' => 'Plan de secours',
|
||||
'Class:Change/Attribute:fallback_plan+' => '',
|
||||
'Class:Change/Attribute:related_request_list' => 'Requêtes liées',
|
||||
'Class:Change/Attribute:related_request_list' => 'Demandes liées',
|
||||
'Class:Change/Attribute:related_request_list+' => 'Toutes les demandes utilisateurs liées à ce changement',
|
||||
'Class:Change/Attribute:related_incident_list' => 'Incidents liés',
|
||||
'Class:Change/Attribute:related_incident_list+' => 'Tous les incidents liés à ce changement',
|
||||
|
||||
Reference in New Issue
Block a user