Skip to content

Commit 2f3a75a

Browse files
authored
Merge pull request #2021 from bcgov/feature/ALCS-1858-status-pills-QA1
ALCS1858 Ui Fixes and Function logic changes
2 parents d1c4b82 + 9d8a475 commit 2f3a75a

File tree

3 files changed

+327
-55
lines changed

3 files changed

+327
-55
lines changed

alcs-frontend/src/app/features/application/decision/conditions/conditions.component.html

+1-29
Original file line numberDiff line numberDiff line change
@@ -26,34 +26,6 @@ <h3>View Conditions</h3>
2626
<span *ngIf="!decision.reconsideredBy?.length">N/A</span>
2727
</div>
2828
</div>
29-
<div class="header">
30-
<div class="subheading1 title">
31-
<h5>Decision</h5>
32-
<div *ngIf="decision.index === decisions.length - 1 && application">
33-
<span class="days" matTooltip="Active Days">
34-
<mat-icon class="icon">calendar_month</mat-icon>
35-
{{ application.activeDays }}
36-
</span>
37-
<span class="days" matTooltip="Paused Days">
38-
<mat-icon class="icon">pause</mat-icon>
39-
{{ application.pausedDays }}
40-
</span>
41-
</div>
42-
<ng-container *ngIf="!!decision.reconsiders">
43-
<app-application-type-pill [type]="reconLabel"></app-application-type-pill>
44-
</ng-container>
45-
<ng-container *ngIf="!!decision?.modifies">
46-
<app-application-type-pill [type]="modificationLabel"></app-application-type-pill>
47-
</ng-container>
48-
<span class="body-text">Res #{{ decision.resolutionNumber }}/{{ decision.resolutionYear }}</span>
49-
<ng-container *ngIf="decision.isDraft === true"
50-
><app-application-type-pill [type]="dratDecisionLabel"></app-application-type-pill>
51-
</ng-container>
52-
<ng-container *ngIf="decision?.isDraft === false"
53-
><app-application-type-pill [type]="releasedDecisionLabel"></app-application-type-pill>
54-
</ng-container>
55-
</div>
56-
</div>
5729
<div class="no-conditions" *ngIf="decision.conditions.length < 1">
5830
<app-no-data text="No conditions added. Return to decision draft to add conditions."></app-no-data>
5931
</div>
@@ -77,7 +49,7 @@ <h5>Decision</h5>
7749
[routerLink]="['../../']"
7850
[queryParams]="{ uuid: decision.uuid }"
7951
>
80-
back to decision view
52+
back to decision #{{ decision.index }}
8153
</button>
8254
</div>
8355
</section>

alcs-frontend/src/app/features/notice-of-intent/decision/conditions/conditions.component.html

+1-26
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,6 @@ <h3>View Conditions</h3>
2121
<span *ngIf="!decision.modifiedBy?.length">N/A</span>
2222
</div>
2323
</div>
24-
<div class="header">
25-
<div class="subheading1 title">
26-
<h5>Decision</h5>
27-
<div *ngIf="decision.index === decisions.length - 1 && noticeOfIntent">
28-
<span class="days" matTooltip="Active Days">
29-
<mat-icon class="icon">calendar_month</mat-icon>
30-
{{ noticeOfIntent.activeDays }}
31-
</span>
32-
<span class="days" matTooltip="Paused Days">
33-
<mat-icon class="icon">pause</mat-icon>
34-
{{ noticeOfIntent.pausedDays }}
35-
</span>
36-
</div>
37-
<ng-container *ngIf="!!decision?.modifies">
38-
<app-application-type-pill [type]="modificationLabel"></app-application-type-pill>
39-
</ng-container>
40-
<span class="body-text">Res #{{ decision.resolutionNumber }}/{{ decision.resolutionYear }}</span>
41-
<ng-container *ngIf="decision.isDraft === true"
42-
><app-application-type-pill [type]="dratDecisionLabel"></app-application-type-pill>
43-
</ng-container>
44-
<ng-container *ngIf="decision?.isDraft === false"
45-
><app-application-type-pill [type]="releasedDecisionLabel"></app-application-type-pill>
46-
</ng-container>
47-
</div>
48-
</div>
4924
<div class="no-conditions" *ngIf="decision.conditions.length < 1">
5025
<app-no-data text="No conditions added. Return to decision draft to add conditions."></app-no-data>
5126
</div>
@@ -69,7 +44,7 @@ <h5>Decision</h5>
6944
[routerLink]="['../../']"
7045
[queryParams]="{ uuid: decision.uuid }"
7146
>
72-
back to decision view
47+
back to decision #{{ decision.index }}
7348
</button>
7449
</div>
7550
</section>

0 commit comments

Comments
 (0)