Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #125 from communitiesuk/fs-2149-fix-search-query
Browse files Browse the repository at this point in the history
FS-2149: Show Flagged & fix filters
  • Loading branch information
tferns authored Jan 11, 2023
2 parents 8335e41 + d65b526 commit eeafdea
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions app/assess/templates/components/application_overviews_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,20 @@
<td class="govuk-table__cell"><a class="govuk-link" href="{{url_for('assess_bp.application',application_id=overview.application_id)}}">{{overview.project_name}}</a></td>
<td class="govuk-table__cell">{{asset_types[overview.asset_type]}}</td>
<td class="govuk-table__cell">&pound;{{ "{:,.2f}".format(overview.funding_amount_requested|int|round) }}</td>
{% if assessment_statuses[overview.workflow_status] == "Not Started" %}
<td class="govuk-table__cell"><span class="not-started-tag">{{assessment_statuses[overview.workflow_status]}}</span></td>
{% else %}
<td class="govuk-table__cell">{{assessment_statuses[overview.workflow_status]}}
{{ '(' + overview.progress|string + '%)' if 'progress' in overview else '(0%)'}}

</td>
{% endif %}
<td class="govuk-table__cell">
{% if overview.workflow_status == "NOT_STARTED" %}
<span class="not-started-tag">
{{assessment_statuses[overview.workflow_status]}}
</span>
{% elif overview.workflow_status == "FLAGGED" %}
<span class="flagged-tag">
{{assessment_statuses[overview.workflow_status]}}
</span>
{% else %}
{{assessment_statuses[overview.workflow_status]}}
{{ '(' + overview.progress|string + '%)' if 'progress' in overview else '(0%)'}}
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit eeafdea

Please sign in to comment.