diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 55e1ccf79..6d71c79a4 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -747,7 +747,7 @@ "createAppliedControlsFromSuggestionsError": "An error occured while creating applied controls from the suggested reference controls", "createAppliedControlsFromSuggestionsConfirmMessage": "{count} applied controls will be created from the suggested reference controls. Do you want to proceed?", "theFollowingControlsWillBeAddedColon": "The following controls will be added:", - "ShowAllNodesMessage": "Show all nodes", - "ShowOnlyAssessable": "Only assessable nodes", + "ShowAllNodesMessage": "Show all", + "ShowOnlyAssessable": "Only assessable", "NoPreviewMessage": "No preview available." } diff --git a/frontend/messages/fr.json b/frontend/messages/fr.json index 931c4304e..ead1bfa1b 100644 --- a/frontend/messages/fr.json +++ b/frontend/messages/fr.json @@ -680,6 +680,6 @@ "createAppliedControlsFromSuggestionsError": "Une erreur s'est produite lors de la création des mesures appliquées depuis les suggestions", "createAppliedControlsFromSuggestionsConfirmMessage": "{count} mesures appliquées seront créées à partir des suggestions. Voulez-vous continuer ?", "theFollowingControlsWillBeAddedColon": "Les mesures suivantes seront appliquées :", - "ShowAllNodesMessage": "Tous les noeuds", - "ShowOnlyAssessable": "uniquement les nœuds évaluables" + "ShowAllNodesMessage": "Tous afficher", + "ShowOnlyAssessable": "uniquement évaluables" } diff --git a/frontend/src/routes/(app)/(third-party)/compliance-assessments/[id=uuid]/+page.svelte b/frontend/src/routes/(app)/(third-party)/compliance-assessments/[id=uuid]/+page.svelte index 5091b9050..7b70bda79 100644 --- a/frontend/src/routes/(app)/(third-party)/compliance-assessments/[id=uuid]/+page.svelte +++ b/frontend/src/routes/(app)/(third-party)/compliance-assessments/[id=uuid]/+page.svelte @@ -382,34 +382,34 @@ {#if !$page.data.user.is_third_party}
-

- {m.associatedRequirements()} +
+ {m.associatedRequirements()} {assessableNodesCount(treeViewNodes)} -

- -
- {#if $displayOnlyAssessableNodes} -

{m.ShowAllNodesMessage()}

- {:else} -

{m.ShowAllNodesMessage()}

- {/if} - ($displayOnlyAssessableNodes = !$displayOnlyAssessableNodes)} - > +
{#if $displayOnlyAssessableNodes} -

{m.ShowOnlyAssessable()}

+

{m.ShowAllNodesMessage()}

{:else} -

{m.ShowOnlyAssessable()}

+

{m.ShowAllNodesMessage()}

{/if} - + ($displayOnlyAssessableNodes = !$displayOnlyAssessableNodes)} + > + {#if $displayOnlyAssessableNodes} +

{m.ShowOnlyAssessable()}

+ {:else} +

{m.ShowOnlyAssessable()}

+ {/if} +
+
+

{m.mappingInferenceTip()}