@@ -20,6 +20,7 @@ import { useCheckAccess } from 'hooks/common/useCheckAccess';
2020import { SubmitActionDependencyContainer } from 'hooks/questionary/useSubmitActions' ;
2121import { TechnicalReviewSubmissionState } from 'models/questionary/technicalReview/TechnicalReviewSubmissionState' ;
2222import { Option } from 'utils/utilTypes' ;
23+ import { useTranslation } from 'react-i18next' ;
2324
2425function QuestionaryComponentTechnicalReviewBasis ( props : BasicComponentProps ) {
2526 const {
@@ -28,7 +29,7 @@ function QuestionaryComponentTechnicalReviewBasis(props: BasicComponentProps) {
2829 } ,
2930 formikProps,
3031 } = props ;
31-
32+ const { t } = useTranslation ( ) ;
3233 const theme = useTheme ( ) ;
3334 const { state, dispatch } = useContext (
3435 QuestionaryContext
@@ -156,8 +157,13 @@ function QuestionaryComponentTechnicalReviewBasis(props: BasicComponentProps) {
156157 isInstrumentScientist ||
157158 fapSecOrChairCanEdit ) && (
158159 < Grid item xs = { 12 } >
159- < InputLabel htmlFor = "comment" shrink margin = "dense" >
160- Internal comment
160+ < InputLabel
161+ htmlFor = "comment"
162+ margin = "dense"
163+ sx = { { fontWeight : 'bold' , color : 'text.primary' } }
164+ >
165+ Internal comment - To only be seen by other technical
166+ reviewers
161167 </ InputLabel >
162168 { /* NOTE: We are using Editor directly instead of FormikUICustomEditor with Formik Field component.
163169 This is because FormikUICustomEditor is not updated properly when we set form field onEditorChange.
@@ -209,8 +215,13 @@ function QuestionaryComponentTechnicalReviewBasis(props: BasicComponentProps) {
209215 isInstrumentScientist ||
210216 fapSecOrChairCanEdit ) && (
211217 < Grid item xs = { 12 } >
212- < InputLabel htmlFor = "comment" shrink margin = "dense" >
213- Internal documents
218+ < InputLabel
219+ htmlFor = "comment"
220+ margin = "dense"
221+ sx = { { fontWeight : 'bold' , color : 'text.primary' } }
222+ >
223+ Internal documents - To only be seen by other technical
224+ reviewers
214225 </ InputLabel >
215226 < FileUploadComponent
216227 maxFiles = { 5 }
@@ -241,8 +252,12 @@ function QuestionaryComponentTechnicalReviewBasis(props: BasicComponentProps) {
241252 </ Grid >
242253 ) }
243254 < Grid item xs = { 12 } >
244- < InputLabel htmlFor = "publicComment" shrink margin = "dense" >
245- Comments for the review panel
255+ < InputLabel
256+ htmlFor = "publicComment"
257+ margin = "dense"
258+ sx = { { fontWeight : 'bold' , color : 'text.primary' } }
259+ >
260+ { `Comments be seen by the ${ t ( 'FAP' ) } panels` }
246261 </ InputLabel >
247262 < Editor
248263 id = "publicComment"
0 commit comments