Skip to content

Commit

Permalink
feat(j-s): Tooltip with info about service not being required (#17200)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
unakb and kodiakhq[bot] authored Dec 12, 2024
1 parent e0e74ca commit 32a256e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ const strings = defineMessages({
description:
'Notaður sem texti í valmöguleika fyrir það þegar ekki skal birta dómdfellda dóminn.',
},
serviceRequirementNotRequiredTooltip: {
id: 'judicial.system.core:court.indictments.completed.service_requirement_not_required_tooltip',
defaultMessage:
'Ekki þarf að birta dóm þar sem sektarfjárhæð er lægri en sem nemur áfrýjunarfjárhæð í einkamáli kr. 1.355.762. Gildir frá 01.01.2024',
description:
'Notað sem tooltip í valmöguleika fyrir það þegar ekki skal birta dómdfellda dóminn.',
},
serviceRequirementNotApplicable: {
id: 'judicial.system.core:court.indictments.completed.service_requirement_not_applicable',
defaultMessage: 'Dómfelldi var viðstaddur dómsuppkvaðningu',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,9 @@ const Completed: FC = () => {
large
backgroundColor="white"
label={formatMessage(strings.serviceRequirementNotRequired)}
tooltip={formatMessage(
strings.serviceRequirementNotRequiredTooltip,
)}
/>
</BlueBox>
</Box>
Expand Down

0 comments on commit 32a256e

Please sign in to comment.