Skip to content

Commit

Permalink
disabling svipe option, added copy
Browse files Browse the repository at this point in the history
  • Loading branch information
cartja committed Feb 28, 2024
1 parent cdc2672 commit 83cbabc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 7 additions & 3 deletions src/components/Dashboard/VerifyIdentity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ function AccordionItemWorld(): JSX.Element | null {

return (
<AccordionItemTemplate
disabled
icon={<img height="35" className="circle-icon" alt="World" src={WorldFlag} />}
title={<FormattedMessage description="accordion item svipe title" defaultMessage="All other countries" />}
additionalInfo={
Expand All @@ -440,7 +441,7 @@ function AccordionItemWorld(): JSX.Element | null {
}
uuid="world"
>
<p>
{/* <p>
<FormattedMessage
description="verify identity"
defaultMessage="If you have a {Svipe_ID} you can connect it to your eduID."
Expand All @@ -458,9 +459,12 @@ function AccordionItemWorld(): JSX.Element | null {
description="verify identity"
defaultMessage={`The button below will take you to an external identification site, where you by
identifying yourself with Svipe ID will verify your identity towards eduID.`}
/>
/>
</p> */}
<p>
<FormattedMessage description="svipe-na" defaultMessage={`This option is currently unavailable.`} />
</p>
<EduIDButton buttonstyle="primary" size="sm" onClick={handleOnClick}>
<EduIDButton buttonstyle="primary" size="sm" disabled onClick={handleOnClick}>
<FormattedMessage defaultMessage="Proceed" description="button proceed" />
</EduIDButton>
</AccordionItemTemplate>
Expand Down
12 changes: 4 additions & 8 deletions src/translation/extractedMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,10 @@
"developer_comment": "resend code",
"string": "Send a new code"
},
"J5e+d2": {
"developer_comment": "svipe-na",
"string": "This option is currently unavailable."
},
"JcDPK+": {
"developer_comment": "when use eduID - paragraph",
"string": "Depending on where you work or study you might only use your eduID account a few times, or you might use it every day. Some schools, institutions and services use eduID as their identity provider, this means you will use your eduID to gain access to their IT-systems. Or you may mainly use your eduID account to create and access other accounts, such as {link} or your student account."
Expand Down Expand Up @@ -1201,10 +1205,6 @@
"developer_comment": "not found heading",
"string": "Page not found"
},
"VwFaJg": {
"developer_comment": "verify identity",
"string": "If you have a {Svipe_ID} you can connect it to your eduID."
},
"VymaGb": {
"developer_comment": "Resend e-mail button",
"string": "Resend e-mail"
Expand Down Expand Up @@ -2542,10 +2542,6 @@
"developer_comment": "extra security description",
"string": "A password reset using an extra security option will keep your account confirmed."
},
"sVb591": {
"developer_comment": "verify identity",
"string": "The button below will take you to an external identification site, where you by identifying yourself with Svipe ID will verify your identity towards eduID."
},
"sbCA3x": {
"developer_comment": "swedish nin - heading",
"string": "If you have a Swedish personal identity number or coordination number"
Expand Down

0 comments on commit 83cbabc

Please sign in to comment.