|
|
|
@ -6,6 +6,12 @@ |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="wp-card--inline-buttons hidden-for-mobile"> |
|
|
|
|
<a class="wp-card--details-button -no-decoration" |
|
|
|
|
*ngIf="!workPackage.isNew && showInfoButton" |
|
|
|
|
[title]="text.detailsView" |
|
|
|
|
(accessibleClick)="openSplitScreen(workPackage)"> |
|
|
|
|
<op-icon icon-classes="icon icon-info2"></op-icon> |
|
|
|
|
</a> |
|
|
|
|
<a class="wp-card--inline-cancel-button -no-decoration" |
|
|
|
|
*ngIf="workPackage.isNew || showRemoveButton" |
|
|
|
|
[ngClass]="{ '-show': workPackage.isNew }" |
|
|
|
@ -13,12 +19,6 @@ |
|
|
|
|
(accessibleClick)="onRemoved(workPackage)"> |
|
|
|
|
<op-icon icon-classes="icon icon-close"></op-icon> |
|
|
|
|
</a> |
|
|
|
|
<a class="wp-card--details-button -no-decoration" |
|
|
|
|
*ngIf="!workPackage.isNew && showInfoButton" |
|
|
|
|
[title]="text.detailsView" |
|
|
|
|
(accessibleClick)="openSplitScreen(workPackage)"> |
|
|
|
|
<op-icon icon-classes="icon icon-info2"></op-icon> |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
<edit-form [resource]="workPackage" |
|
|
|
|
[inEditMode]="workPackage.isNew" |
|
|
|
|