From 16e13cad6e7148a96cfa97173f73de7cabccebb2 Mon Sep 17 00:00:00 2001 From: SwethaKrish4 <110164892+SwethaKrish4@users.noreply.github.com> Date: Tue, 7 Jan 2025 18:19:37 +0530 Subject: [PATCH] MOSIP-37017: disabled download and upload buttons in view and manage ftm (#1068) * MOSIP-37017: disabled download and upload buttons in view and manage ftm Signed-off-by: Swetha K * MOSIP-37017: disabled download and upload buttons in view and manage ftm Signed-off-by: Swetha K * MOSIP-37017: disabled download and upload buttons in view and manage ftm Signed-off-by: Swetha K --------- Signed-off-by: Swetha K Co-authored-by: Swetha K --- pmp-revamp-ui/public/i18n/ara.json | 2 +- pmp-revamp-ui/public/i18n/eng.json | 2 +- .../ftmProviderServices/ViewFtmChipDetails.js | 45 ++++++++++++++----- 3 files changed, 36 insertions(+), 13 deletions(-) diff --git a/pmp-revamp-ui/public/i18n/ara.json b/pmp-revamp-ui/public/i18n/ara.json index dc727bea..97b1c94c 100644 --- a/pmp-revamp-ui/public/i18n/ara.json +++ b/pmp-revamp-ui/public/i18n/ara.json @@ -969,7 +969,7 @@ "PMS_ATH_401": "المصادقة فشلت", "PMS_PRT_106": "حالة APIKeyReqID قيد التقدم", "PMS_KKS_001": " API لا يمكن الوصول إليها", - "PMS_PRT_107": "الردود من API لاغي", + "PMS_PRT_107": "الرد من واجهة برمجة التطبيقات هو لا شيء", "PMS_PRT_500": "غير قادر على معالجة الطلب", "PMS_PMP_016": "لقد تم إلغاء تنشيط حساب الشريك الخاص بك لنوع شريك معين بواسطة المسؤول، ونتيجة لذلك لن تتمكن بعد الآن من أداء هذا النشاط", "PMS_PRT_098": "السياسة المقدمة بموجب مجموعة سياسة الشريك غير موجودة.", diff --git a/pmp-revamp-ui/public/i18n/eng.json b/pmp-revamp-ui/public/i18n/eng.json index 7361707c..9e226dee 100644 --- a/pmp-revamp-ui/public/i18n/eng.json +++ b/pmp-revamp-ui/public/i18n/eng.json @@ -965,7 +965,7 @@ "PMS_ATH_401": "Authentication Failed", "PMS_PRT_106": "APIKeyReqID status is In_progress", "PMS_KKS_001": " API not accessible ", - "PMS_PRT_107": "Responese from the api is null", + "PMS_PRT_107": "Response from the api is null", "PMS_PRT_500": "Unable to process the request.", "PMS_PMP_016": "Your Partner account for given partner type has been deactivated by Admin, due to which you will no longer be able to perform this activity.", "PMS_PRT_098": "Given policy under partner's policy group not exists.", diff --git a/pmp-revamp-ui/src/pages/partner/ftmProviderServices/ViewFtmChipDetails.js b/pmp-revamp-ui/src/pages/partner/ftmProviderServices/ViewFtmChipDetails.js index 4944bbaf..c096c864 100644 --- a/pmp-revamp-ui/src/pages/partner/ftmProviderServices/ViewFtmChipDetails.js +++ b/pmp-revamp-ui/src/pages/partner/ftmProviderServices/ViewFtmChipDetails.js @@ -121,6 +121,14 @@ function ViewFtmChipDetails() { setSuccessMsg(""); }; + const showHoverMsg = () => { + return ( + + ); + } + return (
{errorMsg && ( @@ -228,20 +236,35 @@ function ViewFtmChipDetails() {
{ftmDetails.isViewFtmChipDetails && ( - +
+ + {ftmDetails.partnerStatus === 'deactivated' && ( + showHoverMsg() + )} +
)} {ftmDetails.isManageFtmCertificate && (
- - +
+ + {ftmDetails.partnerStatus === 'deactivated' && ( + showHoverMsg() + )} +
+
+ + {ftmDetails.partnerStatus === 'deactivated' && ( + showHoverMsg() + )} +
{showPopup && ( )}