Commit 59cf7fab authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

FIX(mapping form): update helping text

Refs: #934 #933
parent dd63b145
Pipeline #10119 passed with stage
in 4 minutes and 3 seconds
......@@ -95,6 +95,14 @@ msgstr ""
msgid "TaxonomySoftware.Form.Add.Help"
msgstr ""
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:12
msgid "TaxonomySoftware.Form.Add.Help2"
msgstr ""
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:12
msgid "TaxonomySoftware.Form.Add.Help3"
msgstr ""
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:77
msgid "TaxonomySoftware.Form.Submit"
msgstr ""
......
......@@ -91,14 +91,22 @@ msgstr "{0} software: declare your use cases"
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:11
msgid "TaxonomySoftware.Form.Add.H1"
msgstr "Uses of <strong>{0}</strong> software"
"<br><small>by your organisation (<strong>{1}</strong>)</small>"
msgstr "Use cases of <strong>{0}</strong> software"
"<br><small>in your organisation (<strong>{1}</strong>)</small>"
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:12
msgid "TaxonomySoftware.Form.Add.Help"
msgstr "Can you tell us what areas where the <strong>{0}</strong> "
msgstr "Can you tell us what use cases are where <strong>{0}</strong> "
"<br> software is used by your organization? "
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:12
msgid "TaxonomySoftware.Form.Add.Help2"
msgstr "This information will be added to <strong>mapping</strong> of business software."
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:12
msgid "TaxonomySoftware.Form.Add.Help3"
msgstr "Please select only the use cases really present within your organization."
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:77
msgid "TaxonomySoftware.Form.Submit"
msgstr "Submit your statement"
......
......@@ -91,14 +91,22 @@ msgstr "Logiciel {0} : déclarer vos usages"
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:11
msgid "TaxonomySoftware.Form.Add.H1"
msgstr "Usages du logiciel <strong>{0}</strong>"
"<br><small>par votre structure (<strong>{1}</strong>)</small>"
msgstr "Cas d'usages du logiciel <strong>{0}</strong>"
"<br><small>dans votre structure (<strong>{1}</strong>)</small>"
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:12
msgid "TaxonomySoftware.Form.Add.Help"
msgstr "Pouvez-vous nous préciser quels sont les domaines "
msgstr "Pouvez-vous nous préciser quels sont les <strong>cas d'usages</strong> "
"<br> où le logiciel <strong>{0}</strong> est utilisé par votre organisation ?"
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:12
msgid "TaxonomySoftware.Form.Add.Help2"
msgstr "Ces informations seront ajoutées à la <strong>cartographie</strong> des logiciels métiers."
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:12
msgid "TaxonomySoftware.Form.Add.Help3"
msgstr "Merci de sélectionner uniquement les cas d'usages réellement présent au sein de votre organisation."
#: Template/Api/V1/TaxonomysSoftwares/mapping_form.ctp:77
msgid "TaxonomySoftware.Form.Submit"
msgstr "Soumettre votre déclaration"
......
......@@ -9,7 +9,9 @@
$userName = $user->username;
$headTitle = __d("Taxonomy", "TaxonomySoftware.Form.Add.Title", h($softwareName));
$htmlH1 = __d("Taxonomy", "TaxonomySoftware.Form.Add.H1", h($softwareName), h($userName));
$formHelpNew = __d("Taxonomy", "TaxonomySoftware.Form.Add.Help", h($softwareName));
$formHelp1 = __d("Taxonomy", "TaxonomySoftware.Form.Add.Help", h($softwareName));
$formHelp2 = __d("Taxonomy", "TaxonomySoftware.Form.Add.Help2");
$formHelp3 = __d("Taxonomy", "TaxonomySoftware.Form.Add.Help3");
$this->assign('title', $headTitle);
// Build the form
......@@ -43,7 +45,7 @@
<section id="mappingForm" class="taxonomyPages clearfix">
<h1> <?php echo $htmlH1; ?> </h1>
<br>
<p> <?php echo $formHelpNew; ?> </p>
<p> <?php echo $formHelp1; ?> </p>
<?= $this->Form->create($software, [
'type' => 'file',
"enctype" => "multipart/form-data",
......@@ -80,6 +82,9 @@
"id"=>"taxonomyFormButton",
]
) ?>
<p> <?php echo $formHelp2; ?> </p>
<p> <?php echo $formHelp3; ?> </p>
</div>
<?= $this->Form->end() ?>
</section>
......@@ -1672,6 +1672,7 @@ https://stackoverflow.com/questions/306924/can-i-change-the-checkbox-size-using-
#taxonomyFormButton {
margin-top: 1em;
/*margin-left: 10em;*/
margin-bottom: 1.5em;
border: 2px solid #D9D9DE;
font-size: 15px;
color: #FFFFFF;
......@@ -1684,3 +1685,4 @@ https://stackoverflow.com/questions/306924/can-i-change-the-checkbox-size-using-
border: 2px solid #103e10;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment