From 3d1aa741288917335eb66657e87d750d564a0986 Mon Sep 17 00:00:00 2001
From: "m.ray" <16125548+MadalinaRaicu@users.noreply.github.com>
Date: Tue, 17 Oct 2023 12:44:49 +0300
Subject: [PATCH] fix(trading): liquidation price tooltip link (#5050)
---
.../deal-ticket/deal-ticket-fee-details.tsx | 17 ++++++++++++++++-
libs/deal-ticket/src/constants.ts | 2 +-
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/libs/deal-ticket/src/components/deal-ticket/deal-ticket-fee-details.tsx b/libs/deal-ticket/src/components/deal-ticket/deal-ticket-fee-details.tsx
index e77204681..78ee5243b 100644
--- a/libs/deal-ticket/src/components/deal-ticket/deal-ticket-fee-details.tsx
+++ b/libs/deal-ticket/src/components/deal-ticket/deal-ticket-fee-details.tsx
@@ -37,6 +37,7 @@ import {
AccordionChevron,
AccordionPanel,
Intent,
+ ExternalLink,
Pill,
Tooltip,
} from '@vegaprotocol/ui-toolkit';
@@ -385,7 +386,21 @@ export const DealTicketMarginDetails = ({
value={liquidationPriceEstimateRange}
formattedValue={liquidationPriceEstimate}
symbol={quoteName}
- labelDescription={LIQUIDATION_PRICE_ESTIMATE_TOOLTIP_TEXT}
+ labelDescription={
+ <>
+ {LIQUIDATION_PRICE_ESTIMATE_TOOLTIP_TEXT}{' '}
+
+ {t('For full details please see ')}
+
+ {t('liquidation price estimate documentation.')}
+
+
+ >
+ }
/>
{partyId && (