From 92271acdde3dbca607e07e27ac3bcd40d378e3b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Fri, 7 Oct 2022 16:18:19 +0200
Subject: [PATCH] feat: rock-ramp fishpass, compound rock-ramp fishpass : add
 link to bed roughness help for Ks,ZF1,ZRR,ZRL parameters

refs #524
---
 src/app/calculators/macrorugo/config.json     |  5 ++++-
 .../calculators/macrorugocompound/config.json | 22 ++++++++++++++-----
 2 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/src/app/calculators/macrorugo/config.json b/src/app/calculators/macrorugo/config.json
index 6cbce4d45..7bea4d56e 100644
--- a/src/app/calculators/macrorugo/config.json
+++ b/src/app/calculators/macrorugo/config.json
@@ -5,7 +5,10 @@
         "fields": [
             "ZF1",
             "L",
-            "Ks"
+            {
+                "id": "Ks",
+                "help": "pam/macrorugo.html"
+            }
         ]
     },
     {
diff --git a/src/app/calculators/macrorugocompound/config.json b/src/app/calculators/macrorugocompound/config.json
index 496a35262..2adf6cbd3 100644
--- a/src/app/calculators/macrorugocompound/config.json
+++ b/src/app/calculators/macrorugocompound/config.json
@@ -15,7 +15,10 @@
                 "id": "If",
                 "help": "hsl/pente.html"
             },
-            "Ks",
+            {
+                "id": "Ks",
+                "help": "pam/macrorugo.html"
+            },
             {
                 "id": "C",
                 "help": "pam/concentration.html"
@@ -43,8 +46,14 @@
                 "type": "select",
                 "property": "inclinedApron"
             },
-            "ZRR",
-            "ZRL",
+            {
+                "id": "ZRR",
+                "help": "pam/macrorugo.html"
+            },
+            {
+                "id": "ZRL",
+                "help": "pam/macrorugo.html"
+            },
             "BR"
         ]
     },
@@ -53,7 +62,10 @@
         "type": "fieldset_template",
         "calcType": "MacroRugo",
         "fields": [
-            "ZF1",
+            {
+                "id": "ZF1",
+                "help": "pam/macrorugo.html"
+            },
             "B"
         ]
     },
@@ -69,4 +81,4 @@
         "selectIds": [ "select_passtype" ],
         "help": "pam/macrorugo_complexe.html"
     }
-]
\ No newline at end of file
+]
-- 
GitLab