N°7771 - Details with fieldsets

This commit is contained in:
v-dumas
2026-02-18 17:37:29 +01:00
parent 8bd5473fde
commit c74df181bc
5 changed files with 46 additions and 39 deletions

View File

@@ -77,7 +77,7 @@
<on_target_delete>DEL_MANUAL</on_target_delete>
<tracking_level>all</tracking_level>
</field>
<field id="description" xsi:type="AttributeText">
<field id="description" xsi:type="AttributeHTML">
<sql>description</sql>
<default_value/>
<is_null_allowed>true</is_null_allowed>
@@ -215,36 +215,51 @@
<items>
<item id="col:col1">
<items>
<item id="name">
<item id="fieldset:DataFlow:baseinfo">
<items>
<item id="name">
<rank>10</rank>
</item>
<item id="org_id">
<rank>20</rank>
</item>
<item id="status">
<rank>30</rank>
</item>
<item id="business_criticity">
<rank>40</rank>
</item>
</items>
<rank>10</rank>
</item>
<item id="source_id">
<item id="fieldset:DataFlow:moreinfo">
<items>
<item id="source_id">
<rank>10</rank>
</item>
<item id="destination_id">
<rank>20</rank>
</item>
<item id="flowtype_id">
<rank>30</rank>
</item>
<item id="execution_frequency">
<rank>40</rank>
</item>
</items>
<rank>20</rank>
</item>
<item id="destination_id">
<rank>30</rank>
</item>
<item id="org_id">
<rank>40</rank>
</item>
<item id="status">
<rank>50</rank>
</item>
<item id="flowtype_id">
<rank>60</rank>
</item>
<item id="execution_frequency">
<rank>70</rank>
</item>
<item id="business_criticity">
<rank>80</rank>
</item>
</items>
<rank>10</rank>
</item>
<item id="col:col2">
<items>
<item id="description">
<item id="fieldset:DataFlow:otherinfo">
<items>
<item id="description">
<rank>10</rank>
</item>
</items>
<rank>10</rank>
</item>
</items>

View File

@@ -9,6 +9,10 @@
Dict::Add('EN US', 'English', 'English', [
'DataFlow:baseinfo' => 'General information',
'DataFlow:otherinfo' => 'Other information',
'DataFlow:moreinfo' => 'Flow specifics',
'Relation:flow/Description' => 'Flow maps',
'Relation:flow/DownStream' => 'Sent flow...',
'Relation:flow/UpStream' => 'Received flow...',

View File

@@ -9,6 +9,10 @@
Dict::Add('FR FR', 'French', 'Français', [
'DataFlow:baseinfo' => 'Informations générales',
'DataFlow:otherinfo' => 'Autres informations',
'DataFlow:moreinfo' => 'Spécificités du flux',
'Relation:flow/Description' => 'Carte des flux de données',
'Relation:flow/DownStream' => 'Flux sortants...',
'Relation:flow/UpStream' => 'Flux reçus...',

View File

@@ -1,16 +0,0 @@
<?php
// PHP Data Model definition file
// WARNING - WARNING - WARNING
// DO NOT EDIT THIS FILE (unless you know what you are doing)
//
// If you provide a datamodel.xxxx.xml file with your module,
// this file WILL BE overwritten by the compilation of the
// module (during the setup) if the datamodel.xxxx.xml file
// contains the definition of new classes or menus.
//
// The recommended way to define new classes (for iTop 2.0 and later) is via the XML definition.
// This file remains in the module's template only for the cases where there is:
// - either no new class or menu defined in the XML file
// - or no XML file at all supplied by the module

View File

@@ -24,7 +24,7 @@ SetupWebPage::AddModule(
// Components
//
'datamodel' => [
'model.itop-flow-map.php', // Contains the PHP code generated by the "compilation" of datamodel.Combodo-flow-map.xml
],
'webservice' => [