From ce342c86b281d8e2bbdc9ab5b1a1d66507610f05 Mon Sep 17 00:00:00 2001 From: GurukiranP Date: Thu, 15 Feb 2024 14:45:46 +0530 Subject: [PATCH] [MOSIP-21339] Fixed the banner and the text alignment issues in retrieve lost RID page when the text direction is rtland the some changes in i18n translation files Signed-off-by: GurukiranP --- .../lost-rid-status/lost-rid-status.component.html | 2 +- .../lost-rid-status/lost-rid-status.component.scss | 5 +++++ admin-ui/src/app/shared/table/table.component.scss | 7 +++++++ admin-ui/src/assets/i18n/ara.json | 5 ++++- admin-ui/src/assets/i18n/fra.json | 5 ++++- admin-ui/src/assets/i18n/hin.json | 5 ++++- admin-ui/src/assets/i18n/kan.json | 5 ++++- admin-ui/src/assets/i18n/tam.json | 3 +++ admin-ui/src/styles.scss | 2 +- 9 files changed, 33 insertions(+), 6 deletions(-) diff --git a/admin-ui/src/app/features/lost-rid-status/lost-rid-status/lost-rid-status.component.html b/admin-ui/src/app/features/lost-rid-status/lost-rid-status/lost-rid-status.component.html index 13ba3acb..838d6337 100644 --- a/admin-ui/src/app/features/lost-rid-status/lost-rid-status/lost-rid-status.component.html +++ b/admin-ui/src/app/features/lost-rid-status/lost-rid-status/lost-rid-status.component.html @@ -3,7 +3,7 @@
- +

{{'lostRID.subtitleenrollment' | translate}}

diff --git a/admin-ui/src/app/features/lost-rid-status/lost-rid-status/lost-rid-status.component.scss b/admin-ui/src/app/features/lost-rid-status/lost-rid-status/lost-rid-status.component.scss index bc3c9d7c..fcce248d 100644 --- a/admin-ui/src/app/features/lost-rid-status/lost-rid-status/lost-rid-status.component.scss +++ b/admin-ui/src/app/features/lost-rid-status/lost-rid-status/lost-rid-status.component.scss @@ -135,3 +135,8 @@ h3 { color: #ffffff!important; } +:dir(rtl) .lost-rid-status-card { + padding-left: 50px !important; + padding-right: 50px !important; +} + diff --git a/admin-ui/src/app/shared/table/table.component.scss b/admin-ui/src/app/shared/table/table.component.scss index 98c0eb8e..dcdb6b4e 100644 --- a/admin-ui/src/app/shared/table/table.component.scss +++ b/admin-ui/src/app/shared/table/table.component.scss @@ -129,4 +129,11 @@ td.mat-footer-cell:last-child { caption { font-size: 1.2em; font-weight: bold; +} + +:dir(rtl) th.mat-header-cell:nth-of-type(1), :dir(rtl) td.mat-cell:nth-of-type(1), +:dir(rtl) td.mat-footer-cell:nth-of-type(1), :dir(rtl) .table-header:nth-of-type(1) { + text-align: right; + padding-right: 20px; + padding-left: 1px; } \ No newline at end of file diff --git a/admin-ui/src/assets/i18n/ara.json b/admin-ui/src/assets/i18n/ara.json index 6fcdcfda..e1370b02 100644 --- a/admin-ui/src/assets/i18n/ara.json +++ b/admin-ui/src/assets/i18n/ara.json @@ -32,6 +32,9 @@ "subItem3": "الحصول على شهادة", "subItem4": "تحميل الشهادة", "subItem5": "تحميل شهادة مجال أخرى" + }, + "item8": { + "title": "استرداد RID المفقود" } }, "dashboard": { @@ -753,7 +756,7 @@ "InActive":"غير نشط" }, "lostRID":{ - "titleTxt":"استرداد Lost RID", + "titleTxt":"استرداد RID المفقود", "subtitleenrollment":"تفاصيل التسجيل", "subtitlelocation":"موقع", "searchbtn":"بحث", diff --git a/admin-ui/src/assets/i18n/fra.json b/admin-ui/src/assets/i18n/fra.json index 964c42f9..d32a2464 100644 --- a/admin-ui/src/assets/i18n/fra.json +++ b/admin-ui/src/assets/i18n/fra.json @@ -32,7 +32,10 @@ "subItem3": "Obtenir un certificat", "subItem4": "Télécharger le certificat", "subItem5": "Télécharger un autre certificat de domaine" - } + }, + "item8": { + "title": "Récupérer le RID perdu" + } }, "dashboard": { "welcomeMessage": "Bienvenue sur le portail d'administration Mosip!" diff --git a/admin-ui/src/assets/i18n/hin.json b/admin-ui/src/assets/i18n/hin.json index 2a7a6278..2a0b151e 100644 --- a/admin-ui/src/assets/i18n/hin.json +++ b/admin-ui/src/assets/i18n/hin.json @@ -32,7 +32,10 @@ "subItem3": "गेट सर्टिफिकेट", "subItem4": "प्रमाणपत्र अपलोड करें", "subItem5": "अन्य डोमेन प्रमाणपत्र अपलोड करें" - } + }, + "item8": { + "title": "खोई हुई RID पुनः प्राप्त करें" + } }, "dashboard": { "welcomeMessage": "मोसिप एडमिन पोर्टल में आपका स्वागत है!" diff --git a/admin-ui/src/assets/i18n/kan.json b/admin-ui/src/assets/i18n/kan.json index 66d31981..2e787160 100644 --- a/admin-ui/src/assets/i18n/kan.json +++ b/admin-ui/src/assets/i18n/kan.json @@ -32,7 +32,10 @@ "subItem3": "ಪ್ರಮಾಣಪತ್ರ ಪಡೆಯಿರಿ", "subItem4": "ಪ್ರಮಾಣಪತ್ರವನ್ನು ಅಪ್‌ಲೋಡ್ ಮಾಡಿ", "subItem5": "ಇತರ ಡೊಮೇನ್ ಪ್ರಮಾಣಪತ್ರವನ್ನು ಅಪ್‌ಲೋಡ್ ಮಾಡಿ" - } + }, + "item8": { + "title": "ಕಳೆದುಹೋದ RID ಅನ್ನು ಹಿಂಪಡೆಯಿರಿ" + } }, "dashboard": { "welcomeMessage": "ಮೊಸಿಪ್ ಅಡ್ಮಿನ್ ಪೋರ್ಟಲ್ ಗೆ ಸ್ವಾಗತ!" diff --git a/admin-ui/src/assets/i18n/tam.json b/admin-ui/src/assets/i18n/tam.json index dcf5f5fa..6a3047b9 100644 --- a/admin-ui/src/assets/i18n/tam.json +++ b/admin-ui/src/assets/i18n/tam.json @@ -32,6 +32,9 @@ "subItem3": "சான்றிதழ் பெறவும்", "subItem4": "சான்றிதழைப் பதிவேற்றவும்", "subItem5": "பிற டொமைன் சான்றிதழைப் பதிவேற்றவும்" + }, + "item8": { + "title": "இழந்த RID ஐ மீட்டெடுக்கவும்" } }, "dashboard": { diff --git a/admin-ui/src/styles.scss b/admin-ui/src/styles.scss index 572bb528..7ae85ab0 100644 --- a/admin-ui/src/styles.scss +++ b/admin-ui/src/styles.scss @@ -68,7 +68,7 @@ h3 { margin:0px !important; } #flex-container { - overflow-y: scroll; + overflow-y: auto; overflow-x: hidden; /* max-height: 87vh; */ padding-bottom: 20px;