Skip to content

Commit

Permalink
Merge pull request #702 from shruthi-rapala/srapala/dfa-public-3.1
Browse files Browse the repository at this point in the history
EMCRI# 841 Portal: On Project Dashboard, don't display value in EMCR Approved Amount until project BPF has reached Decision Made
  • Loading branch information
GeorgeWalker authored Dec 17, 2024
2 parents d11eeea + d2e9a6b commit de47a7d
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="System.Text.Json" Version="9.0.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.8.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.StackExchangeRedis" Version="1.0.0-rc9.5" />
<PackageReference Include="Serilog.AspNetCore" Version="6.0.1" />
<PackageReference Include="Serilog.Enrichers.ClientInfo" Version="1.2.0" />
<PackageReference Include="Serilog.Enrichers.ClientInfo" Version="2.1.2" />
<PackageReference Include="Serilog.Enrichers.CorrelationId" Version="3.0.1" />
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.2.0" />
<PackageReference Include="Serilog.Enrichers.Process" Version="2.0.2" />
Expand Down
2 changes: 1 addition & 1 deletion dfa-public/src/API/EMBC.Utilities.Hosting/Logging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static void ConfigureSerilog(HostBuilderContext hostBuilderContext, IServ
.Enrich.WithEnvironmentUserName()
.Enrich.WithCorrelationId()
.Enrich.WithCorrelationIdHeader()
.Enrich.WithClientAgent()
//.Enrich.WithClientAgent()
.Enrich.WithClientIp()
.Enrich.WithSpan()
.WriteTo.Console(outputTemplate: LogOutputTemplate)
Expand Down
2 changes: 1 addition & 1 deletion dfa-public/src/API/EMBC.Utilities/EMBC.Utilities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="System.Text.Json" Version="9.0.0" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,23 +150,24 @@
</span>
</div>
</div>

@if(applItem.stage == 'Approved' || applItem.stage == 'Approved with Exclusions') {
<div style="padding-top: 16px; display: flex;" [hidden]="applItem.isHidden">

<div class="col-md-2">
<span><b>Site Location - </b></span>
</div>
<div class="col-md-3 wrap-text">
<span>{{applItem.siteLocation }}</span>
</div>
<div class="col-md-2">
<span><b>Estimated Completion Date - </b></span>
</div>
<div class="col-md-2">
<span>{{ applItem.estimatedCompletionDate }}</span>
</div>

<div class="col-md-2">
<span><b>Site Location - </b></span>
</div>
<div class="col-md-3 wrap-text">
<span>{{applItem.siteLocation }}</span>
</div>
<div class="col-md-2">
<span><b>Estimated Completion Date - </b></span>
</div>
<div class="col-md-2">
<span>{{ applItem.estimatedCompletionDate }}</span>
</div>
</div>
<div style="border-bottom: 1px solid lightgrey; padding-bottom: 16px; display: flex;" [hidden]="applItem.isHidden">

<div class="col-md-2">
<span><b>EMCR Approved Amount -</b></span>
</div>
Expand All @@ -180,6 +181,7 @@
<span id="spnCauseOfDamage">{{ applItem.deadline18Month }}</span>
</div>
</div>
}
<div style="width: 90%; min-width: 725px; display: flex; flex-direction: column;">
<div class="col-md-3" style="margin-top: 20px;">
<span *ngIf="applItem.isErrorInStatus == true" style="color: red;">Error in displaying status<br /></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export class DfaDashProjectComponent implements OnInit {
var initialList = lstData;
lstDataUnModified.push(initialList);
lstData.forEach(objApp => {
objApp.isHidden = false;
var isFound = false;
var jsonVal = JSON.stringify(this.items);
objApp.isErrorInStatus = false;
Expand Down

0 comments on commit de47a7d

Please sign in to comment.