| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright 2020 TATA ELXSI |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the 'License'); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | |
| 16 | Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in) |
| 17 | --> |
| 18 | <div class="modal-header"> |
| SANDHYA.JS | 2657011 | 2024-07-05 21:35:46 +0530 | [diff] [blame] | 19 | <h4 *ngIf="isRegisterPage; else Delete" class="modal-title" id="modal-basic-title"> |
| 20 | {{'DEREGISTER' | translate}} |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 21 | </h4> |
| SANDHYA.JS | 2657011 | 2024-07-05 21:35:46 +0530 | [diff] [blame] | 22 | <ng-template #Delete> |
| 23 | <h4 class="modal-title" id="modal-basic-title"> |
| 24 | {{'DELETE' | translate}} |
| 25 | </h4> |
| 26 | </ng-template> |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 27 | <button class="button-xs" type="button" class="close" aria-label="Close" (click)="activeModal.close()"> |
| 28 | <i class="fas fa-times-circle text-danger"></i> |
| 29 | </button> |
| 30 | </div> |
| 31 | <div class="modal-body"> |
| 32 | <span>{{'DELETECONFIRMPOPUPMESSAGE' | translate}} <b>{{ this.title }}</b> ?</span> |
| 33 | </div> |
| 34 | <div class="modal-footer"> |
| 35 | <button (click)="activeModal.close()" class="btn btn-danger">{{'CANCEL' | translate}}</button> |
| SANDHYA.JS | 8ead52b | 2024-06-10 18:23:41 +0530 | [diff] [blame] | 36 | <button *ngIf="!isPage; else multiDelete" (click)="deleteData();" class="btn btn-primary">{{'OK' | translate}}</button> |
| 37 | <ng-template #multiDelete> |
| 38 | <button *ngIf="isPage" (click)="terminate();" class="btn btn-primary">{{'DELETE' | translate }}</button> |
| 39 | </ng-template> |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 40 | </div> |
| 41 | <app-loader [waitingMessage]="message" *ngIf="isLoadingResults"></app-loader> |