Skip to content

Commit

Permalink
feat: improve layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Oct 3, 2024
1 parent 3b0b85b commit 9ea3cdc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions frontend/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@
"createUserHelpText": "Create or link a third party user to the representative based on the email",
"nameDuplicate": "Name already exists",
"noAnswer": "No answer",
"entityAssessmentAuthorHelpText": "The representative who is responsible for questionnaire completion",
"entityAssessmentRepresentativesHelpText": "The third party users who are responsible for questionnaire completion",
"sendQuestionnaire": "Send questionnaire",
"sureToSendMail": "Are you sure you want to send the mail?",
"mailSuccessfullySent": "The mail has been successfully sent",
Expand All @@ -755,5 +755,6 @@
"theFollowingControlsWillBeAddedColon": "The following controls will be added:",
"ShowAllNodesMessage": "Show all",
"ShowOnlyAssessable": "Only assessable",
"NoPreviewMessage": "No preview available."
"NoPreviewMessage": "No preview available.",
"entityAssessmentEvidenceHelpText": "An external questionnaire"
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
multiple
options={getOptions({ objects: model.foreignKeys['representatives'], label: 'email' })}
field="representatives"
helpText={m.entityAssessmentAuthorHelpText()}
helpText={m.entityAssessmentRepresentativesHelpText()}
cacheLock={cacheLocks['representatives']}
bind:cachedValue={formDataCache['representatives']}
label={m.representatives()}
Expand Down Expand Up @@ -187,6 +187,7 @@
cacheLock={cacheLocks['evidence']}
bind:cachedValue={formDataCache['evidence']}
label={m.evidence()}
helpText={m.entityAssessmentEvidenceHelpText()}
/>
<Select
{form}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<DetailView
{data}
{mailing}
exclude={['criticality', 'penetration', 'dependency', 'maturity', 'trust', 'evidence']}
exclude={['criticality', 'penetration', 'dependency', 'maturity', 'trust']}
/>
{#if data.data.compliance_assessment}
<div class="card px-6 py-4 bg-white flex flex-row justify-between shadow-lg w-full">
Expand Down

0 comments on commit 9ea3cdc

Please sign in to comment.