Skip to content

Commit

Permalink
Merge pull request #683 from Ckoelewyn/EPICSYSTEM-55
Browse files Browse the repository at this point in the history
EPICSYSTEM-55 : Added logic for Pending PCP
  • Loading branch information
Ckoelewyn authored May 13, 2024
2 parents 828ccc7 + 9cf370b commit a62ae44
Showing 1 changed file with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,27 @@ <h4>{{(rowData.name.toUpperCase() || '-')}}</h4>
<div class="pcp-indicator pcp-indicator-inactive"></div>
View Completed Comment Period
</a>
<a *ngIf="rowData.commentPeriod?.commentPeriodStatus === 'Pending' || !rowData.commentPeriod?.commentPeriodStatus"
<a *ngIf="
rowData.commentPeriod?.commentPeriodStatus === 'Pending' &&
rowData.commentPeriod?.isMet &&
rowData.commentPeriod?.metURL
"
class="btn btn-primary view-pcp-btn"
href="{{ rowData.commentPeriod.metURL }}"
rel="noopener"
target="_blank"
title="View this Public Comment Period"
>
<div class="pcp-indicator pcp-indicator-pending"></div>
View Pending Comment Period
</a>
<a *ngIf="
(rowData.commentPeriod?.commentPeriodStatus === 'Pending' &&
!rowData.commentPeriod?.isMet) ||
!rowData.commentPeriod?.commentPeriodStatus"
class="btn btn-primary view-pcp-btn"
title="View this Public Comment Period">
title="View this Public Comment Period"
>
<div class="pcp-indicator pcp-indicator-pending"></div>
Comment Period Pending
</a>
Expand Down

0 comments on commit a62ae44

Please sign in to comment.