This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
generated from communitiesuk/funding-service-design-TEMPLATE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from communitiesuk/SMD-646/feature/fund-path-…
…routing [SMD-646] add fund code to Auth and add coded routes
- Loading branch information
Showing
12 changed files
with
224 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{% extends "base.html" %} | ||
|
||
{%- from "help-links-dropdown.html" import helpLinksDropdown -%} | ||
{%- from 'govuk_frontend_jinja/components/button/macro.html' import govukLink -%} | ||
|
||
{% block beforeContent %} | ||
{{ super() }} | ||
{% endblock beforeContent %} | ||
|
||
{% block content %} | ||
<h1 class="govuk-heading-xl">Submit monitoring and evaluation data dashboard</h1> | ||
|
||
<h2 class="govuk-heading-m">All funds ({{ authorised_funds | length }})</h2> | ||
<hr class="govuk-section-break govuk-section-break--s govuk-section-break--visible"> | ||
<dl class="govuk-summary-list"> | ||
{% for fund_code, fund_data in authorised_funds %} | ||
|
||
{% set local_authorities = fund_data.auth.get_organisations() %} | ||
{% set fund = fund_data.fund %} | ||
|
||
<div class="govuk-summary-list__row"> | ||
<dt class="govuk-summary-list__key"> | ||
<a class="govuk-heading-m govuk-link--no-visited-state" href={{ url_for('main.upload', fund_code=fund_code, round=fund.current_reporting_round) }}> {{ fund.fund_name }}</a> | ||
<p class="govuk-body"><b>Local Authority</b></p> | ||
<p class="govuk-body"><b>Reporting Period</b></p> | ||
</dt> | ||
<dd class="govuk-summary-list__value"> | ||
<br> | ||
<br> | ||
<p class="govuk-body"> {{ ", ".join(local_authorities) if local_authorities|length > 1 else local_authorities[0] }} </p> | ||
<p class="govuk-body"> {{ fund.current_reporting_period }}</p> | ||
|
||
</dd> | ||
|
||
</div> | ||
|
||
{% endfor %} | ||
|
||
</dl> | ||
|
||
{{ helpLinksDropdown() }} | ||
|
||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.