Skip to content

Commit

Permalink
Update view-and-edit-container.component.html
Browse files Browse the repository at this point in the history
  • Loading branch information
heinerwalter authored Oct 19, 2024
1 parent cf7ad1c commit f8b806b
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
class="view-and-edit-container-header-text">
{{cardHeader}}
</span>
<ngb-btn-group class="view-and-edit-container-btn-group">
<ng-container *ngIf="mode == 'view'">
<ng-container *ngIf="mode == 'view'">
<div class="view-and-edit-container-btn-group">
<button ngb-btn *ngIf="showEditButton"
buttonClass="btn-sm btn-light"
[icon]="editButtonIcon"
Expand All @@ -21,8 +21,10 @@
[text]="newButtonText"
(click)="onNewButtonClicked()">
</button>
</ng-container>
<ng-container *ngIf="mode == 'edit' || mode == 'new'">
</div>
</ng-container>
<ng-container *ngIf="mode == 'edit' || mode == 'new'">
<ngb-btn-group class="view-and-edit-container-btn-group">
<button ngb-btn *ngIf="showSaveButton"
buttonClass="btn-sm btn-success"
[icon]="saveButtonIcon"
Expand All @@ -41,8 +43,8 @@
[text]="cancelButtonText"
(click)="onCancelButtonClicked()">
</button>
</ng-container>
</ngb-btn-group>
</ngb-btn-group>
</ng-container>
</h4>

<div *ngIf="showContent"
Expand Down

0 comments on commit f8b806b

Please sign in to comment.