diff --git a/Mohem/src/app/notification-center/notification-detail/detail.component.html b/Mohem/src/app/notification-center/notification-detail/detail.component.html
index 4df46e65..649ad4ea 100644
--- a/Mohem/src/app/notification-center/notification-detail/detail.component.html
+++ b/Mohem/src/app/notification-center/notification-detail/detail.component.html
@@ -1,18 +1,9 @@
-
-
-
- {{ 'worklistMain,notfDetails' | translate }}
-
-
-
-
-
-
+
+
+

+
diff --git a/Mohem/src/app/notification-center/notification-detail/detail.component.scss b/Mohem/src/app/notification-center/notification-detail/detail.component.scss
index 63143424..c8951127 100644
--- a/Mohem/src/app/notification-center/notification-detail/detail.component.scss
+++ b/Mohem/src/app/notification-center/notification-detail/detail.component.scss
@@ -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;
+
+}
\ No newline at end of file
diff --git a/Mohem/src/app/notification-center/notification-detail/detail.component.ts b/Mohem/src/app/notification-center/notification-detail/detail.component.ts
index d5cc4123..37306ae2 100644
--- a/Mohem/src/app/notification-center/notification-detail/detail.component.ts
+++ b/Mohem/src/app/notification-center/notification-detail/detail.component.ts
@@ -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();
+ }
}