blob: 0a40da9a6767aaa05eb5f75526fcaeeb56bfd6ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<ng-template #notificationModel>
<div class="ant-notification-notice-content">
<div class="ant-notification-notice-with-icon">
<span class="ant-notification-notice-icon">
<img src="{{notificationAttributes.imgPath}}" alt="{{notificationAttributes.status}}">
</span>
<!-- customer&onboard -->
<div *ngIf="!isServicesList && !parentComponent">
<div class="ant-notification-notice-message">
{{(notificationAttributes.action === 'OnboardingState'? notificationAttributes.title : "i18nTextDefine_"+notificationAttributes.title) | translate}}
{{"i18nTextDefine_"+notificationAttributes.action | translate}} {{"i18nTextDefine_"+notificationAttributes.status | translate}}
</div>
<div class="ant-notification-notice-description">
<div class="notificationlist">
<p *ngIf="notificationAttributes.action !== 'OnboardingState'">{{"i18nTextDefine_"+notificationAttributes.title | translate}}:</p>
<p *ngIf="notificationAttributes.action === 'OnboardingState'">{{notificationAttributes.title}} id: </p>
<span>{{ notificationAttributes.name }}</span>
</div>
</div>
<div class="close-icons">{{"i18nTextDefine_Close" | translate}}</div>
</div>
<!-- services-list -->
<div *ngIf="isServicesList">
<div class="ant-notification-notice-message"
*ngIf="notificationAttributes.title === 'CCVPN' || notificationAttributes.title === 'SOTN'">
{{ notificationAttributes.title }} {{notificationAttributes.status === 'Success'? "i18nTextDefine_InstanceTeminatedSuccessfully" : (notificationAttributes.status === 'Failed'?"i18nTextDefine_InstanceTeminationFailed":"i18nTextDefine_InstanceTeminationStarting") | translate}}
</div>
<div class="ant-notification-notice-message"
*ngIf="notificationAttributes.title === 'E2E Service' || notificationAttributes.title === 'Network Service'">
{{notificationAttributes.title === 'E2E Service'?'E2E': 'NS'}} {{notificationAttributes.status === 'Success'? "i18nTextDefine_InstanceTeminatedSuccessfully" :(notificationAttributes.status === 'Failed'?"i18nTextDefine_InstanceTeminationFailed":"i18nTextDefine_InstanceTeminationStarting")| translate}}
</div>
<div class="ant-notification-notice-description">
<div class="notificationlist">
<p> {{"i18nTextDefine_InstanceName" | translate}} :</p>
<span>{{ notificationAttributes.name }} </span>
</div>
<div class="notificationlist">
<p> {{"i18nTextDefine_Customer" | translate}} :</p>
<span>{{ customerSelected.name }}</span>
</div>
<div class="notificationlist">
<p> {{"i18nTextDefine_UseCase" | translate}} :</p>
<span>{{ notificationAttributes.title }}</span>
</div>
</div>
<div class="close-icons">{{"i18nTextDefine_Close" | translate}}</div>
</div>
<!-- slicing -->
<div *ngIf="!isServicesList && parentComponent">
<div class="ant-notification-notice-message">
{{ notificationAttributes.title}}
{{ notificationAttributes.action }} {{notificationAttributes.status}}
</div>
<div class="ant-notification-notice-description">
<div class="notificationlist">
<p>{{notificationAttributes.title}} id: </p>
<span>{{ notificationAttributes.name }}</span>
</div>
</div>
<div class="close-icons">{{"i18nTextDefine_Close" | translate}}</div>
</div>
</div>
</div>
</ng-template>
|