Skip to content

Commit

Permalink
Merge pull request #2059 from bcgov/feature/ALCS-2059-qa-ui-fixes
Browse files Browse the repository at this point in the history
ALCS-2059 Ui Fixes
  • Loading branch information
fbarreta authored Jan 17, 2025
2 parents eacade6 + b9f2097 commit fff57c2
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,36 +106,36 @@ <h5>Res #{{ decision.resolutionNumber }}/{{ decision.resolutionYear }}</h5>
<section class="decision-section-no-title">
<div class="grid-2">
<div>
<span class="subheading2">Decision Date: </span>
<span class="subheading2">Decision Date:&nbsp;</span>
{{ decision.date | momentFormat }}
<app-no-data *ngIf="decision.date === null || decision.date === undefined"></app-no-data>
</div>
<div class="align-right">
<span class="subheading2">Decision Maker: </span>
<span class="subheading2">Decision Maker:&nbsp;</span>
{{ decision.decisionMaker?.label }}
<app-no-data *ngIf="decision.decisionMaker === null || decision.decisionMaker === undefined"></app-no-data>
</div>
</div>
<div class="component-summary">
<div *ngIf="decision.ceoCriterion">
<span class="subheading2">CEO Criterion: </span>
{{ decision.ceoCriterion?.label }}
<div *ngIf="decision.ceoCriterion" class="component-summary">
<div>
<span class="subheading2">CEO Criterion:&nbsp;</span>
{{ decision.ceoCriterion.label }}
<ng-container *ngIf="decision.isTimeExtension || decision.isOther">&#32;-&#32;</ng-container>
<ng-container *ngIf="decision.isTimeExtension">Time extension</ng-container>
<ng-container *ngIf="decision.isTimeExtension && decision.isOther">,&#32;</ng-container>
<ng-container *ngIf="decision.isOther">Other</ng-container>
</div>
</div>
<div class="component-summary">
<div *ngIf="decision.outcome?.code === 'RESC'">
<span class="subheading2">Rescinded Date: </span>
<div *ngIf="decision.outcome?.code === 'RESC'" class="component-summary">
<div>
<span class="subheading2">Rescinded Date:&nbsp;</span>
<ng-container *ngIf="decision.rescindedDate">{{ decision.rescindedDate | momentFormat }}</ng-container>
<app-no-data *ngIf="decision.rescindedDate === null || decision.rescindedDate === undefined"></app-no-data>
</div>
</div>
<div class="component-summary">
<div *ngIf="decision.outcome?.code === 'RESC'">
<span class="subheading2">Rescinded Comment: </span>
<div *ngIf="decision.outcome?.code === 'RESC'" class="component-summary">
<div>
<span class="subheading2">Rescinded Comment:&nbsp;</span>
{{ decision.rescindedComment }}
<app-no-data *ngIf="!decision.rescindedComment"></app-no-data>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ h4 {
margin-bottom: 12px !important;
}

h5 {
padding-top: 20px;
}

hr {
margin: 36px 0;
stroke: colors.$grey;
Expand Down Expand Up @@ -139,7 +143,7 @@ hr {
:host ::ng-deep {
.grid-2 {
margin-top: 18px;
margin-bottom: 18px;
margin-bottom: 6px;
display: grid;
grid-template-columns: 50% 50%;
grid-row-gap: 18px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,37 +99,36 @@ <h4>Resolution</h4>
<section class="decision-section-no-title">
<div class="grid-2">
<div>
<span class="subheading2">Decision Date: </span>
<span class="subheading2">Decision Date:&nbsp;</span>
{{ decision.date ? (decision.date | momentFormat) : undefined }}
<app-no-data *ngIf="decision.date === null || decision.date === undefined"></app-no-data>
</div>
<div class="align-right">
<span class="subheading2">Decision Maker: </span>
<span class="subheading2">Decision Maker:&nbsp;</span>
{{ decision.decisionMaker }}
<app-no-data *ngIf="decision.decisionMaker === null || decision.decisionMaker === undefined"></app-no-data>
</div>

<div class="component-summary">
<div *ngIf="decision.outcome?.code === 'RESC'">
<span class="subheading2">Rescinded Date: </span>
<div *ngIf="decision.outcome?.code === 'RESC'" class="component-summary">
<div>
<span class="subheading2">Rescinded Date:&nbsp;</span>
<ng-container *ngIf="decision.rescindedDate">{{ decision.rescindedDate | momentFormat }}</ng-container>
<app-no-data *ngIf="decision.rescindedDate === null || decision.rescindedDate === undefined"></app-no-data>
</div>
</div>
<div class="component-summary">
<div *ngIf="decision.outcome?.code === 'RESC'">
<span class="subheading2">Rescinded Comment: </span>
<div *ngIf="decision.outcome?.code === 'RESC'" class="component-summary">
<div>
<span class="subheading2">Rescinded Comment:&nbsp;</span>
{{ decision.rescindedComment }}
<app-no-data *ngIf="!decision.rescindedComment"></app-no-data>
</div>
</div>

<div class="full-width decision-description">
{{ decision.decisionDescription }}
<app-no-data
*ngIf="decision.decisionDescription === null || decision.decisionDescription === undefined"
></app-no-data>
</div>
</div>
<div class="full-width decision-description">
{{ decision.decisionDescription }}
<app-no-data
*ngIf="decision.decisionDescription === null || decision.decisionDescription === undefined"
></app-no-data>
</div>
<ng-container *ngFor="let component of decision.components; let index = index">
<div class="component-summary">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ h4 {
margin-bottom: 12px !important;
}

h5 {
padding-top: 20px;
}

hr {
margin: 36px 0;
stroke: colors.$grey;
Expand Down Expand Up @@ -139,7 +143,7 @@ hr {
:host ::ng-deep {
.grid-2 {
margin-top: 18px;
margin-bottom: 18px;
margin-bottom: 6px;
display: grid;
grid-template-columns: 50% 50%;
grid-row-gap: 18px;
Expand Down

0 comments on commit fff57c2

Please sign in to comment.