Skip to content

Commit

Permalink
FS-4153 Adding if for EOI metrics (#577)
Browse files Browse the repository at this point in the history
* Adding if for EOI metrics

* removing test code
  • Loading branch information
adamdavies1 committed Feb 29, 2024
1 parent e9b5bc5 commit 2495a90
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ <h3 class="govuk-body govuk_summary-card__title govuk-!-font-size-24">{{summary.
</strong>
</div>
{% if summary.live_round_stats %}
<!-- TODO: Temp solution for a quick fix. Perhaps we should have a varibale within the summary? -->
{% if "Expression of interest" in summary.round_name %}
{{ govukTable({
"caption": "",
"firstCellIsHeader": false,
"rows": [
[{'html': '<strong>Applications received</strong>'},
{'text': summary.live_round_stats.submitted if summary.live_round_stats.submitted is not none else 'Unavailable'}],
],
})
}}
{%else%}
{{ govukTable({
"caption": "",
"firstCellIsHeader": false,
Expand All @@ -80,6 +92,7 @@ <h3 class="govuk-body govuk_summary-card__title govuk-!-font-size-24">{{summary.
],
})
}}
{%endif%}
{% if force_open_all_live_assessment_rounds %}
<a class="govuk-link" data-qa="dashboard_summary" href="{{ summary.assessments_href }}">
View all submitted applications
Expand Down

0 comments on commit 2495a90

Please sign in to comment.