no message

MOHEMM-Q3-DEV-LATEST
Sultan Khan 3 years ago
parent b309efb375
commit 17b002853b

@ -1,18 +1,9 @@
<ion-header>
<ion-toolbar>
<nav-buttons backLink="/authentication/login"></nav-buttons>
<ion-title >{{ 'worklistMain,notfDetails' | translate }} </ion-title>
<!-- <ion-title *ngIf="notification.NotificationType != 11"> {{ 'notifications,details' | translate }}</ion-title>
<ion-title *ngIf="notification.NotificationType == 11"> {{ 'family,instrucion' | translate }}</ion-title>
-->
</ion-toolbar>
</ion-header>
<ion-content class="item-background" padding>
<ion-content class="item-background" padding>
<div class="close-icon">
<img src="assets/imgs/close.svg" (click)="backLogin()" />
</div>
<ion-grid>
<ion-row class="ion-justify-content-center">
<ion-col [size]="11">

@ -15,12 +15,14 @@
margin-bottom: 0;
color: var(--ion-color-danger);
}
.info-icon h1 {
margin: auto;
font-size: 22px;
text-align: center;
margin-top: 10%;
}
.info-icon {
padding: 20px;
background: #fff;
@ -28,12 +30,14 @@
margin-top: 15%;
border-radius: 15px;
}
.info-icon .line {
width: 100%;
height: 1px;
background: #ccddcc;
margin: 15px auto;
}
.info-icon .instruction p {
display: block;
margin: 0px;
@ -41,21 +45,40 @@
color: #000;
text-align: center;
}
.info-icon b {
bottom: 11px;
margin: 18px;
color: var(--ion-color-danger);
}
.instruction b {
color: var(--ion-color-danger);
font-weight: bolder;
}
.stop-icon {
display: flex;
margin: 10px auto;
width: 45%;
margin-top: 40px;
}
p.otherwise {
font-size: 20px !important;
}
.close-icon {
position: relative;
height: 60px;
padding: 10px;
}
.close-icon img {
height: 35px;
width: 35px;
right: 0;
position: absolute;
}

@ -36,43 +36,7 @@ export class DetailComponent implements OnInit {
this.data = this.sharedData.getSharedData(NotificationModel.SHARED_DATA, true);
}
// this.initialize();
// if (this.notification.MessageType == "image") {
// }
// if (this.notification.MessageType == "video") {
// var url = this.notification.MessageTypeData;
// var v_id = url.substr(url.lastIndexOf("?v=") + 3, url.length);
// this.trustedVideoUrl = this.domSanitizer.bypassSecurityTrustResourceUrl("https://www.youtube.com/embed/" + v_id);
// }
// else {
// }
// }
// private initialize() {
// // this.notifyService.decreaseBadgeCount();
// this.notification = this.sharedData.getSharedData(NotificationModel.SHARED_DATA, true);
// if (!this.notification) {
// this.cs.back();
// }
// if (this.notification.MessageType == "image") {
// }
// if (this.notification.MessageType == "video") {
// var url = this.notification.MessageTypeData;
// var v_id = url.substr(url.lastIndexOf("?v=") + 3, url.length);
// this.trustedVideoUrl = this.domSanitizer.bypassSecurityTrustResourceUrl("https://www.youtube.com/embed/" + v_id);
// } else {
// }
// }
// public isHtml5VideoSupported(): boolean {
// return this.cs.isHtml5VideoSupported();
// }
// public playNativeVideo() {
// this.cs.openBrowser(this.notification.MessageTypeData);
// }
backLogin() {
this.cs.openLogin();
}
}

Loading…
Cancel
Save