fixed moe issues

MOE_MAIN-COLOR_CHANGES
umasoodch 3 years ago
parent c2fe2063cb
commit a35ffbd5bd

@ -122,6 +122,10 @@ export class AddEitComponent implements OnInit {
EITTransactionsRequest.SUBMIT_EIT_ACTION
);
}
// window.addEventListener('keyboardDidShow', () => {
// document.activeElement.scrollIntoView(false);
// });
}
ngOnInit() {}

@ -1,4 +1,5 @@
import { Component, OnInit, Input } from '@angular/core';
import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service';
@Component({
selector: 'app-card-filter',
@ -11,8 +12,16 @@ export class CardFilterComponent implements OnInit {
@Input() active: boolean;
@Input() color: string;
direction: string;
constructor() { }
ngOnInit() {}
ngOnInit() {
this.direction = TranslatorService.getCurrentLanguageName();
console.log(this.direction);
if (this.direction == 'ar') {
this.text = 'الموارد البشرية';
}
}
}

@ -49,7 +49,7 @@
<ion-label>{{ts.trPK('vacation-rule','itemType')}}</ion-label>
<ion-select okText="{{ts.trPK('general','ok')}}" cancelText="{{ts.trPK('general','cancel')}}"
[(ngModel)]="itemType">
<ion-select-option value="HRSSA">HR</ion-select-option>
<ion-select-option value="HRSSA">{{text}}</ion-select-option>
<!-- <ion-select-option value="POAPPRV">PO</ion-select-option>
<ion-select-option value="REQAPPRV">PR</ion-select-option>
<ion-select-option value="INVMOA">MR</ion-select-option>

@ -17,6 +17,7 @@ export class WorklistAdvancedSearchComponent implements OnInit {
public notificationType = '';
public itemType;
public direction: string;
public text = 'HR';
constructor(
public modalController: ModalController,
@ -25,7 +26,9 @@ export class WorklistAdvancedSearchComponent implements OnInit {
this.direction = TranslatorService.getCurrentLanguageName();
}
ngOnInit() {}
ngOnInit() {
this.text = this.direction == 'en' ? 'HR': 'الموارد البشرية';
}
public dismissModal() {
this.modalController.dismiss();

@ -15,7 +15,7 @@
<ion-radio slot="start" color="secondary" mode='md' value="1"></ion-radio>
</ion-item>
<ion-item lines="none">
<ion-item lines="none" style="pointer-events: none;opacity: .3;">
<ion-label>
<h3 *ngIf="sourceName === 'basicDetails'" style="color: black; font-size: 20px; white-space: break-spaces !important">{{ts.trPK('general','new-info')}}</h3>
<h3 *ngIf="sourceName === 'address'" style="color: black; font-size: 20px; white-space: break-spaces !important">{{ts.trPK('general','new-info-address')}}</h3>

@ -423,7 +423,7 @@
},
"close": {
"en": "Close",
"ar": "إغلق"
"ar": "إغلاق"
},
"back": {
"en": "Back",
@ -2140,16 +2140,16 @@
"ar": "فشل تحميل بعض الملفات المرفقة"
},
"approval-message-success": {
"en": "Your request has been submitted for approvals.",
"ar": "تم إرسال طلبك للحصول على الموافقات."
"en": "Your request has been submitted successfully!",
"ar": "تم تقديم الطلب بنجاح"
},
"basic-approval-message-success": {
"en": "Update Basic details request has been submitted for approvals.",
"ar": "تم إرسال طلب تحديث التفاصيل الأساسية للموافقات."
"en": "Your request has been submitted successfully!",
"ar": "تم تقديم الطلب بنجاح"
},
"contact-approval-message-success": {
"en": "Update Contact details request has been submitted for approvals.",
"ar": "تم إرسال طلب تحديث تفاصيل الاتصال للحصول على الموافقات."
"en": "Your request has been submitted successfully!",
"ar": "تم تقديم الطلب بنجاح"
},
"delete-perm": {
"en": "Are you sure from deleting this file permanently?",

Loading…
Cancel
Save