|
|
|
@ -1,23 +1,19 @@ |
|
|
|
|
<div class="op-modal--portal"> |
|
|
|
|
<div id="wp_destroy_modal" |
|
|
|
|
class="op-modal--modal-container wp-table--configuration-modal loading-indicator--location" |
|
|
|
|
class="op-modal--modal-container wp-table--configuration-modal loading-indicator--location -highlight -danger-zone" |
|
|
|
|
data-indicator-name="modal" |
|
|
|
|
tabindex="0"> |
|
|
|
|
<div class="op-modal--modal-header"> |
|
|
|
|
<a class="op-modal--modal-close-button"> |
|
|
|
|
<i |
|
|
|
|
class="icon-close" |
|
|
|
|
<i class="icon-close" |
|
|
|
|
(click)="closeMe($event)" |
|
|
|
|
[attr.title]="text.close"> |
|
|
|
|
</i> |
|
|
|
|
</a> |
|
|
|
|
<h3 class="icon-context icon-attention" [textContent]="text.title"></h3> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<form name="modalWpDestroyForm" class="form danger-zone"> |
|
|
|
|
<section class="form--section -inner-scrolling"> |
|
|
|
|
<h3 class="form--section-title" [textContent]="text.title"></h3> |
|
|
|
|
|
|
|
|
|
<div class="modal-inner-scrolling-container"> |
|
|
|
|
<div class="op-modal--modal-body"> |
|
|
|
|
<ng-container *ngIf="singleWorkPackage"> |
|
|
|
|
<p> |
|
|
|
|
<span [textContent]="text.text"></span> |
|
|
|
@ -30,7 +26,7 @@ |
|
|
|
|
</p> |
|
|
|
|
<div *ngIf="singleWorkPackageChildren && singleWorkPackageChildren.length > 0"> |
|
|
|
|
<p class="danger-zone--warning"> |
|
|
|
|
<span class="icon icon-error"></span> |
|
|
|
|
<span class="icon-context icon-error"></span> |
|
|
|
|
<strong [textContent]="text.warning"></strong>: |
|
|
|
|
<span [textContent]="text.hasChildren(singleWorkPackage)"></span> |
|
|
|
|
</p> |
|
|
|
@ -47,7 +43,7 @@ |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container *ngIf="workPackages.length > 1"> |
|
|
|
|
<p class="danger-zone--warning"> |
|
|
|
|
<span class="icon icon-error"></span> |
|
|
|
|
<span class="icon-context icon-error"></span> |
|
|
|
|
<strong [textContent]="text.text"></strong> |
|
|
|
|
</p> |
|
|
|
|
<ul> |
|
|
|
@ -74,9 +70,8 @@ |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</section> |
|
|
|
|
|
|
|
|
|
<div class="form--space -left-spacing"> |
|
|
|
|
<div class="op-modal--modal-footer"> |
|
|
|
|
<button class="button -danger" |
|
|
|
|
[textContent]="text.confirm" |
|
|
|
|
[attr.disabled]="busy || blockedDueToUnconfirmedChildren || undefined" |
|
|
|
@ -87,6 +82,5 @@ |
|
|
|
|
(click)="closeMe($event)"> |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|