From c14a836e1744195bd07150a5a541442b77d0c3fe Mon Sep 17 00:00:00 2001
From: Gilquin <laurent.gilquin@ens-lyon.fr>
Date: Tue, 9 Jul 2024 15:20:15 +0200
Subject: [PATCH] docs: update form templates

---
 orga/yakform_call_trainer_unix.txt | 38 +++++++++++++-------------
 orga/yakform_registration_unix.txt | 44 ++++++++++++++++--------------
 2 files changed, 43 insertions(+), 39 deletions(-)

diff --git a/orga/yakform_call_trainer_unix.txt b/orga/yakform_call_trainer_unix.txt
index b0c71ba..b518f2e 100644
--- a/orga/yakform_call_trainer_unix.txt
+++ b/orga/yakform_call_trainer_unix.txt
@@ -1,5 +1,5 @@
 $webform = array (
-  'nid' => '779305',
+  'nid' => '987106',
   'next_serial' => '1',
   'confirmation' => '',
   'confirmation_format' => 'wysiwyg_user',
@@ -46,7 +46,7 @@ $webform = array (
   array (
     15 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '15',
       'pid' => '0',
       'form_key' => 'new_1663580649768',
@@ -65,7 +65,7 @@ $webform = array (
         'title_display' => 'before',
         'description' => '',
         'description_above' => false,
-        'placeholder' => 'Dupont',
+        'placeholder' => 'John',
         'attributes' => 
         array (
         ),
@@ -80,7 +80,7 @@ $webform = array (
     ),
     14 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '14',
       'pid' => '0',
       'form_key' => 'new_1663580608320',
@@ -99,7 +99,7 @@ $webform = array (
         'title_display' => 'before',
         'description' => '',
         'description_above' => false,
-        'placeholder' => 'John',
+        'placeholder' => 'Dupont',
         'attributes' => 
         array (
         ),
@@ -114,7 +114,7 @@ $webform = array (
     ),
     1 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '1',
       'pid' => '0',
       'form_key' => 'new_1661852344800',
@@ -126,7 +126,7 @@ $webform = array (
         'multiple' => 0,
         'format' => 'short',
         'width' => '',
-        'unique' => 1,
+        'unique' => 0,
         'disabled' => 0,
         'title_display' => 'before',
         'description' => '',
@@ -146,7 +146,7 @@ $webform = array (
     ),
     3 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '3',
       'pid' => '0',
       'form_key' => 'new_1661852536156',
@@ -187,7 +187,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     30 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '30',
       'pid' => '0',
       'form_key' => 'new_1693394806558',
@@ -222,7 +222,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     31 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '31',
       'pid' => '0',
       'form_key' => 'new_1693394865971',
@@ -257,15 +257,15 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     32 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '32',
       'pid' => '0',
       'form_key' => 'new_1693394929998',
       'name' => 'Cloud IFB',
       'type' => 'markup',
-      'value' => '<p>Nous utilisons le cloud de l\'IFB (<link href="https://biosphere.france-bioinformatique.fr/">https://biosphere.france-bioinformatique.fr/</link>) pour les travaux pratiques (les stagiaires travailleront depuis un navigateur internet sur une instance Rstudio server hébergé sur le cloud de l\'IFB).</p>
+      'value' => '<p>Nous utilisons le cloud de l\'IFB (<link href="https://biosphere.france-bioinformatique.fr/">https://biosphere.france-bioinformatique.fr/</link>) pour les travaux pratiques (les stagiaires travailleront depuis un navigateur internet sur une machine virtuelle (Ubuntu) hébergée sur le cloud de l\'IFB).</p>
 
-<p><i>We use the IFB cloud (<link href="https://biosphere.france-bioinformatique.fr/">https://biosphere.france-bioinformatique.fr/</link>) for the practicals (trainees work in their web browser on a Rstudio server hosted on IFB cloud).</i></p>',
+<p><i>We use the IFB cloud (<link href="https://biosphere.france-bioinformatique.fr/">https://biosphere.france-bioinformatique.fr/</link>) for the practicals (trainees work in their web browser on virtual machine (Ubuntu) hosted on IFB cloud).</i></p>',
       'extra' => 
       array (
         'format' => 'wysiwyg_user',
@@ -278,7 +278,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     12 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '12',
       'pid' => '0',
       'form_key' => 'new_1663579980628',
@@ -311,7 +311,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     23 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '23',
       'pid' => '0',
       'form_key' => 'new_1693320671454',
@@ -336,7 +336,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     26 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '26',
       'pid' => '0',
       'form_key' => 'new_1693321164081',
@@ -372,7 +372,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     21 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '21',
       'pid' => '0',
       'form_key' => 'new_1693319362737',
@@ -406,7 +406,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     24 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '24',
       'pid' => '0',
       'form_key' => 'new_1693320727085',
@@ -427,7 +427,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     28 => 
     array (
-      'nid' => 779305,
+      'nid' => 987106,
       'cid' => '28',
       'pid' => '0',
       'form_key' => 'new_1693321289280',
diff --git a/orga/yakform_registration_unix.txt b/orga/yakform_registration_unix.txt
index b1c60cf..c457403 100644
--- a/orga/yakform_registration_unix.txt
+++ b/orga/yakform_registration_unix.txt
@@ -1,5 +1,5 @@
 $webform = array (
-  'nid' => '778921',
+  'nid' => '987108',
   'next_serial' => '1',
   'confirmation' => '',
   'confirmation_format' => 'wysiwyg_user',
@@ -46,7 +46,7 @@ $webform = array (
   array (
     15 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '15',
       'pid' => '0',
       'form_key' => 'new_1663580649768',
@@ -65,7 +65,7 @@ $webform = array (
         'title_display' => 'before',
         'description' => '',
         'description_above' => false,
-        'placeholder' => 'Dupont',
+        'placeholder' => 'John',
         'attributes' => 
         array (
         ),
@@ -80,7 +80,7 @@ $webform = array (
     ),
     14 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '14',
       'pid' => '0',
       'form_key' => 'new_1663580608320',
@@ -99,7 +99,7 @@ $webform = array (
         'title_display' => 'before',
         'description' => '',
         'description_above' => false,
-        'placeholder' => 'John',
+        'placeholder' => 'Dupont',
         'attributes' => 
         array (
         ),
@@ -114,7 +114,7 @@ $webform = array (
     ),
     1 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '1',
       'pid' => '0',
       'form_key' => 'new_1661852344800',
@@ -126,7 +126,7 @@ $webform = array (
         'multiple' => 0,
         'format' => 'short',
         'width' => '',
-        'unique' => 1,
+        'unique' => 0,
         'disabled' => 0,
         'title_display' => 'before',
         'description' => '',
@@ -146,7 +146,7 @@ $webform = array (
     ),
     3 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '3',
       'pid' => '0',
       'form_key' => 'new_1661852536156',
@@ -187,7 +187,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     20 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '20',
       'pid' => '0',
       'form_key' => 'new_1693318963943',
@@ -208,7 +208,7 @@ IBCP - Institut de Biologie et Chimie des Proteines     Unité mixte de service
     ),
     19 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '19',
       'pid' => '0',
       'form_key' => 'new_1693316967281',
@@ -244,7 +244,7 @@ Ni l\'un ni l\'autre / None of the above|Ni l\'un ni l\'autre / None of the abov
     ),
     12 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '12',
       'pid' => '0',
       'form_key' => 'new_1663579980628',
@@ -277,7 +277,7 @@ Ni l\'un ni l\'autre / None of the above|Ni l\'un ni l\'autre / None of the abov
     ),
     23 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '23',
       'pid' => '0',
       'form_key' => 'new_1693320671454',
@@ -302,7 +302,7 @@ Ni l\'un ni l\'autre / None of the above|Ni l\'un ni l\'autre / None of the abov
     ),
     26 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '26',
       'pid' => '0',
       'form_key' => 'new_1693321164081',
@@ -338,7 +338,7 @@ Ni l\'un ni l\'autre / None of the above|Ni l\'un ni l\'autre / None of the abov
     ),
     17 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '17',
       'pid' => '0',
       'form_key' => 'new_1663582031315',
@@ -354,7 +354,7 @@ Ni l\'un ni l\'autre / None of the above|Ni l\'un ni l\'autre / None of the abov
 
 <li><p>Il ne sera pas possible de changer de groupes (sauf cas exceptionnel) au cours du semestre car chaque groupe ira à sa vitesse.</p>
 
-<p><i>It will not be possible to switch groups (except in exceptional cases) during the semester because each group will go at its own pace</i><p></li>
+<p><i>It will not be possible to switch groups (except in exceptional cases) during the semester because each group will go at its own pace.</i><p></li>
 
 </ul></p>',
       'extra' => 
@@ -369,7 +369,7 @@ Ni l\'un ni l\'autre / None of the above|Ni l\'un ni l\'autre / None of the abov
     ),
     21 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '21',
       'pid' => '0',
       'form_key' => 'new_1693319362737',
@@ -403,15 +403,19 @@ Ni l\'un ni l\'autre / None of the above|Ni l\'un ni l\'autre / None of the abov
     ),
     24 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '24',
       'pid' => '0',
       'form_key' => 'new_1693320727085',
       'name' => 'Nouveau champ "balisage"',
       'type' => 'markup',
-      'value' => '<p>(sauf absence ponctuelle en cas d\'impératif professionnel ou personnel évidemment)</p>
+      'value' => '<p>(sauf absence ponctuelle en cas d\'impératif professionnel ou personnel évidemment) 
+Les attestations de formation ne seront délivrées qu\'aux personnes ayant suivi <b>au moins 80%</b> des séances de leur groupe.
+</p>
 
-<p><i>(except for one-time absences in case of professional or personal imperative obviously)</i><p>',
+<p><i>(except for one-time absences in case of professional or personal imperative obviously)
+Training certificates will only be delivered to people who have attended <b>at least 80%</b> of their group\'s sessions.
+</i><p>',
       'extra' => 
       array (
         'format' => 'wysiwyg_user',
@@ -424,7 +428,7 @@ Ni l\'un ni l\'autre / None of the above|Ni l\'un ni l\'autre / None of the abov
     ),
     28 => 
     array (
-      'nid' => 778921,
+      'nid' => 987108,
       'cid' => '28',
       'pid' => '0',
       'form_key' => 'new_1693321289280',
-- 
GitLab