diff --git a/services/web/app/views/_mixins/reconfirm_affiliation-marketing.pug b/services/web/app/views/_mixins/reconfirm_affiliation-marketing.pug index 2795039b8c..c42a3b439a 100644 --- a/services/web/app/views/_mixins/reconfirm_affiliation-marketing.pug +++ b/services/web/app/views/_mixins/reconfirm_affiliation-marketing.pug @@ -39,7 +39,7 @@ mixin reconfirmAffiliationNotification-marketing(userEmail, location) | !{translate("please_reconfirm_institutional_email", {}, [{name: 'a', attrs: {href: '/user/settings?remove=' + userEmail.email}}])} | - a(href="/learn/how-to/Institutional_Email_Reconfirmation") #{translate("learn_more")} + a(href="/learn/how-to/Institutional_Email_Reconfirmation" target="_blank") #{translate("learn_more")} div(hidden data-ol-sent) | !{translate("please_check_your_inbox_to_confirm", {institutionName: userEmail.affiliation.institution.name}, ['strong'])} diff --git a/services/web/frontend/js/features/group-management/components/members-table/offboard-managed-user-modal.tsx b/services/web/frontend/js/features/group-management/components/members-table/offboard-managed-user-modal.tsx index 2d881b9f79..1088912c8d 100644 --- a/services/web/frontend/js/features/group-management/components/members-table/offboard-managed-user-modal.tsx +++ b/services/web/frontend/js/features/group-management/components/members-table/offboard-managed-user-modal.tsx @@ -89,7 +89,7 @@ export default function OffboardManagedUserModal({
{t('this_action_cannot_be_reversed')} - + {t('learn_more_about_managed_users')}
diff --git a/services/web/frontend/js/features/project-list/components/notifications/groups/affiliation/reconfirm-affiliation.tsx b/services/web/frontend/js/features/project-list/components/notifications/groups/affiliation/reconfirm-affiliation.tsx index 65ffeb0f07..ea4a4c7f8d 100644 --- a/services/web/frontend/js/features/project-list/components/notifications/groups/affiliation/reconfirm-affiliation.tsx +++ b/services/web/frontend/js/features/project-list/components/notifications/groups/affiliation/reconfirm-affiliation.tsx @@ -129,7 +129,10 @@ function ReconfirmAffiliation({ components={[]} /> - + {t('learn_more')} {isError && ( diff --git a/services/web/frontend/js/features/project-list/components/notifications/groups/common.tsx b/services/web/frontend/js/features/project-list/components/notifications/groups/common.tsx index b00badea5b..7f46a0fbd6 100644 --- a/services/web/frontend/js/features/project-list/components/notifications/groups/common.tsx +++ b/services/web/frontend/js/features/project-list/components/notifications/groups/common.tsx @@ -262,7 +262,10 @@ function CommonNotification({ notification }: CommonNotificationProps) { i18nKey="dropbox_duplicate_project_names_suggestion" components={[]} // eslint-disable-line react/jsx-key />{' '} - + {t('learn_more')} . @@ -290,7 +293,10 @@ function CommonNotification({ notification }: CommonNotificationProps) { ) : ( t('confirm_affiliation_to_relink_dropbox') )}{' '} - + {t('learn_more')} > diff --git a/services/web/frontend/js/features/project-list/components/notifications/groups/institution.tsx b/services/web/frontend/js/features/project-list/components/notifications/groups/institution.tsx index 2bd02981ba..aae8cadb0f 100644 --- a/services/web/frontend/js/features/project-list/components/notifications/groups/institution.tsx +++ b/services/web/frontend/js/features/project-list/components/notifications/groups/institution.tsx @@ -67,7 +67,10 @@ function Institution() { shouldUnescape tOptions={{ interpolation: { escapeValue: true } }} />{' '} - + {t('learn_more')} @@ -152,6 +155,7 @@ function Institution() { className={newNotificationStyle ? 'btn-secondary' : ''} bsSize="sm" href="/learn/how-to/Institutional_Login" + target="_blank" > {t('find_out_more')} diff --git a/services/web/frontend/js/features/project-list/components/welcome-message-new/welcome-message-link.tsx b/services/web/frontend/js/features/project-list/components/welcome-message-new/welcome-message-link.tsx index 17e0d29dd2..2a019185fe 100644 --- a/services/web/frontend/js/features/project-list/components/welcome-message-new/welcome-message-link.tsx +++ b/services/web/frontend/js/features/project-list/components/welcome-message-new/welcome-message-link.tsx @@ -2,6 +2,7 @@ type WelcomeMessageLinkProps = { imgSrc: string title: string href: string + target?: string onClick?: () => void } @@ -9,6 +10,7 @@ export default function WelcomeMessageLink({ imgSrc, title, href, + target, onClick, }: WelcomeMessageLinkProps) { return ( @@ -16,6 +18,8 @@ export default function WelcomeMessageLink({ href={href} onClick={onClick} className="card welcome-message-card welcome-message-card-link" + target={target || undefined} + rel="noopener" >{title}