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