Merge pull request #7750 from overleaf/ta-settings-fixes-2

[SettingsPage] Small Fixes 2

GitOrigin-RevId: fe29b5a97cac4e92f6458e2359569d6c080b626b
This commit is contained in:
Timothée Alby
2022-04-27 08:05:01 +00:00
committed by Copybot
parent e63c5565a6
commit 0ee4767fa6
9 changed files with 77 additions and 43 deletions
@@ -53,7 +53,7 @@ export function IntegrationLinkingWidget({
<span className="label label-info">{t('premium_feature')}</span>
)}
</div>
<p>
<p className="small">
{description}{' '}
<a href={helpPath} target="_blank" rel="noreferrer">
{t('learn_more')}
@@ -64,7 +64,7 @@ export function IntegrationLinkingWidget({
<div>
<ActionButton
hasFeature={hasFeature}
upgradePath="user/subscription/plans"
upgradePath="/user/subscription/plans"
linked={linked}
handleUnlinkClick={handleUnlinkClick}
linkPath={linkPath}
@@ -63,7 +63,7 @@ export function SSOLinkingWidget({
<div className="title-row">
<h4>{title}</h4>
</div>
<p>
<p className="small">
{description?.replace(/<[^>]+>/g, '')}{' '}
{helpPath ? (
<a href={helpPath} target="_blank" rel="noreferrer">
@@ -77,7 +77,7 @@ export function SSOLinkingWidget({
<ActionButton
unlinkRequestInflight={unlinkRequestInflight}
accountIsLinked={linked}
linkPath={linkPath}
linkPath={`${linkPath}?intent=link`}
onUnlinkClick={handleUnlinkClick}
/>
</div>