Skip to content

Commit

Permalink
Add info text for multipliers
Browse files Browse the repository at this point in the history
  • Loading branch information
erikao1998 committed Jan 24, 2024
1 parent 55a48b5 commit dccbd01
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/client/components/ResultPage/TotalRisk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import {
Box,
Table,
TableBody,
TableCell,
TableContainer,
TableRow,
Typography,
} from '@mui/material'
import { Question, Result, Locales } from '@backend/types'
Expand Down Expand Up @@ -179,6 +181,15 @@ const TotalRisk = ({
resultText={t('risks:totalRiskLevel')}
risk={totalRisk}
/>
<TableRow>
<TableCell colSpan={3}>
<Box sx={{ paddingTop: '10px', paddingBottom: '10px' }}>
<Typography variant="body1">
{t('results:multiplierInfoText')}
</Typography>
</Box>
</TableCell>
</TableRow>
{country && (
<>
<RiskElement
Expand Down
3 changes: 2 additions & 1 deletion src/client/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"HCIrank": "Human development",
"safetyLevel": "Safety level",
"sanctions": "Sanctions",
"academicFreedom": "Academic freedom"
"academicFreedom": "Academic freedom",
"multiplierInfoText": "In addition, the role of the UH, duration of the project, existence of written agreement and previous successful collaboration affect to the total risk level."
},
"contact": {
"title": "Contact",
Expand Down
3 changes: 2 additions & 1 deletion src/client/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"HCIrank": "Inhimillinen kehitys",
"safetyLevel": "Turvallisuustaso",
"sanctions": "Pakotteet",
"academicFreedom": "Akateeminen vapaus"
"academicFreedom": "Akateeminen vapaus",
"multiplierInfoText": "Lisäksi kokonaisriskiin vaikuttavat Helsingin yliopiston rooli yhteistyössä, yhteistyösopimuksen kesto, yhteistyösopimuksen olemassaolo ja aiempi yhteistyö."
},
"contact": {
"title": "Yhteydenotto",
Expand Down

0 comments on commit dccbd01

Please sign in to comment.