Skip to content

Commit

Permalink
Changed read more links
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Nov 15, 2023
1 parent 2b99c7a commit a0f90b2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
5 changes: 2 additions & 3 deletions client/src/locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const en = {
["Groups", "<p>The roles are actually group memberships that can be provisioned to external SCIM API's.</p>", false]
],
footer: "<p>SURFconext Invite is a service for access management to SURFconext-connected service providers.</p>" +
"<p>Do you want to know more? Please visit <a href='https://surf.nl/en/invite'>https://surf.nl/en/invite</a>.</p>",
"<p>Do you want to know more? <a href='https://support.surfconext.nl/invite-en'>Read more</a>.</p>",
},
header: {
title: "SURFconext Invite",
Expand All @@ -33,8 +33,7 @@ const en = {
access: "Access",
help: "Help",
profile: "Profile",
logout: "Logout",
helpUrl: "https://support.surfconext.nl/help-invite-en"
logout: "Logout"
},
},
tabs: {
Expand Down
3 changes: 1 addition & 2 deletions client/src/locale/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ const nl = {
access: "Invite",
help: "Help",
profile: "Profiel",
logout: "Log uit",
helpUrl: "https://support.surfconext.nl/help-invite-nl"
logout: "Log uit"
},
},
tabs: {
Expand Down
4 changes: 2 additions & 2 deletions welcome/src/components/RoleCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Logo from "./Logo";
import I18n from "../locale/I18n";
import {MoreLessText} from "./MoreLessText";
import {Button, Card, CardType, Chip, ChipType} from "@surfnet/sds";
import {sanitizeURL} from "../utils/Utils";
import {isEmpty, sanitizeURL} from "../utils/Utils";


export const RoleCard = ({role, index, isNew = false, skipLaunch= false}) => {
Expand All @@ -18,7 +18,7 @@ export const RoleCard = ({role, index, isNew = false, skipLaunch= false}) => {
<h3>{role.name}</h3>
<MoreLessText txt={role.description} cutOffNumber={120}/>
</section>
{!skipLaunch && <div className={"launch"}>
{(!skipLaunch && !isEmpty(role.landingPage)) && <div className={"launch"}>
<Button txt={I18n.t("proceed.launch")} onClick={() => {
window.location.href = sanitizeURL(role.landingPage);
}}/>
Expand Down
5 changes: 2 additions & 3 deletions welcome/src/locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const en = {
["Groups", "<p>The roles are actually group memberships that can be provisioned to external SCIM API's.</p>", false]
],
footer: "<p>SURFconext Invite is a service for access management of Dutch led service providers.</p>" +
"<p>Do you want to know more? Please visit <a href='https://surf.nl/en/invite'>https://surf.nl/en/invite</a>.</p>",
"<p>Do you want to know more? <a href='https://support.surfconext.nl/invite-en'>Read more</a>.</p>",
},
header: {
title: "SURFconext Invite",
Expand All @@ -32,8 +32,7 @@ const en = {
access: "Access",
help: "Help",
profile: "Profile",
logout: "Logout",
helpUrl: "https://support.surfconext.nl/help-invite-en"
logout: "Logout"
},
},
home: {
Expand Down
3 changes: 1 addition & 2 deletions welcome/src/locale/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ const nl = {
access: "Invite",
help: "Help",
profile: "Profiel",
logout: "Log uit",
helpUrl: "https://support.surfconext.nl/help-invite-nl"
logout: "Log uit"
},
},
home: {
Expand Down

0 comments on commit a0f90b2

Please sign in to comment.