Skip to content

Commit

Permalink
Adding welsh fund config
Browse files Browse the repository at this point in the history
  • Loading branch information
srh-sloan committed Jan 8, 2025
1 parent 02b16ed commit 9a65a51
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 0 deletions.
3 changes: 3 additions & 0 deletions account_store/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ def seed_local_account_store(c):
"CTDF_LEAD_ASSESSOR",
"CTDF_ASSESSOR",
"CTDF_COMMENTER",
"FFW_LEAD_ASSESSOR",
"FFW_ASSESSOR",
"FFW_COMMENTER",
]:
if required_role not in lead_assessor_roles:
la_role = Role(id=uuid4(), account_id=account_id, role=required_role)
Expand Down
271 changes: 271 additions & 0 deletions apply/templates/apply/all_questions/en/ffw_aor1_all_questions_en.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,271 @@

{% extends "apply/base.html" %}
{%- from 'govuk_frontend_jinja/components/inset-text/macro.html' import govukInsetText -%}
{%- from "govuk_frontend_jinja/components/button/macro.html" import govukButton -%}

{% from "apply/partials/file-formats.html" import file_formats %}
{% set pageHeading %}{% trans %}Full list of application questions{% endtrans %}{% endset %}
{% block content %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<span class="govuk-caption-l">{% trans %}{{ fund_title }}{% endtrans %}&nbsp;
{% trans %}{{ round_title }}{% endtrans %}
</span>
<h1 class="govuk-heading-xl">{{ pageHeading }}</h1>
<div class="govuk-!-margin-bottom-8">
<h2 class="govuk-heading-m ">
Table of contents
</h2>
<ol class="govuk-list govuk-list--number">
<li>
<a class="govuk-link" href="#applicant-information">
Applicant Information
</a>
</li>
<li>
<a class="govuk-link" href="#organisation-information">
Organisation Information
</a>
</li>
</ol>
<hr class="govuk-section-break govuk-section-break--l govuk-section-break--visible" />
<h2 class="govuk-heading-l" id="applicant-information">
1. Applicant Information
</h2>
<h3 class="govuk-heading-m">
1.1. Applicant information
</h3>
<h4 class="govuk-heading-s">
1.1.1. Lead contact details
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Name of lead contact
</p>
<p class="govuk-body">
They will receive all the information about this application.
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Lead contact job title
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Lead contact email address
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Lead contact telephone number
</p>
</div>
<hr class="govuk-section-break govuk-section-break--l govuk-section-break--visible" />
<h2 class="govuk-heading-l" id="organisation-information">
2. Organisation Information
</h2>
<h3 class="govuk-heading-m">
2.1. Name your application
</h3>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Name your organisation
</p>
<p class="govuk-body">
This is what your application will be called and will help you find it when you save and return.
</p>
</div>
<h4 class="govuk-heading-s">
2.1.1. Organisation name
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Organisation name
</p>
<p class="govuk-body">
This must match your registered legal
organisation name.
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Does your organisation use any other names?
</p>
<p class="govuk-body">
If 'Yes', go to <strong>2.1.1.2</strong>
</p>
</div>
<h4 class="govuk-heading-s">
2.1.1.2. Alternative organisation names
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Alternative name 1
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Alternative name 2
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Alternative name 3
</p>
</div>
<h4 class="govuk-heading-s">
2.1.2. Registered organisation address
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Registered organisation address
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Is your correspondence address different to the organisation address?
</p>
<p class="govuk-body">
If 'Yes', go to <strong>2.1.2.2</strong>
</p>
</div>
<h4 class="govuk-heading-s">
2.1.2.2. Alternative organisation address
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Alternative organisation address
</p>
</div>
<h4 class="govuk-heading-s">
2.1.3. How long has your organisation been operating?
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
How long has your organisation been operating?
</p>
<p class="govuk-body">
Select one option.
</p>
<ul class="govuk-list govuk-list--bullet">
<li class="">
Less than 1 year
</li>
<li class="">
More than 1 year, but less than 3
</li>
<li class="">
More than 3 years
</li>
</ul>
</div>
<h4 class="govuk-heading-s">
2.1.4. How is your organisation classified?
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
How is your organisation classified?
</p>
<ul class="govuk-list govuk-list--bullet">
<li class="">
Charitable incorporated organisation (CIO)
</li>
<li class="">
Co-operative
</li>
<li class="">
Community interest company (CIC)
</li>
<li class="">
Company limited by guarantee
</li>
<li class="">
None of these
</li>
</ul>
<p class="govuk-body">
If 'None of these', go to <strong>2.1.4.2</strong>
</p>
</div>
<h4 class="govuk-heading-s">
2.1.4.2. Type of organisation
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Type of organisation
</p>
</div>
<h4 class="govuk-heading-s">
2.1.5. What is your organisation's main purpose?
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
What is your organisation's main purpose?
</p>
</div>
<h4 class="govuk-heading-s">
2.1.6. What are your organisation's charitable objects?
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
What are your organisation's charitable objects?
</p>
</div>
<h4 class="govuk-heading-s">
2.1.7. Tell us about your organisation's main activities
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Main activity 1
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Activity 2
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Activity 3
</p>
</div>
<h4 class="govuk-heading-s">
2.1.8. Website and social media
</h4>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Website
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Social media link 1
</p>
<p class="govuk-body">
For example, your company's Facebook, Instagram or Twitter accounts (if applicable)
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Social media link 2
</p>
<p class="govuk-body">
For example, your company's Facebook, Instagram or Twitter accounts (if applicable)
</p>
</div>
<div class="govuk-body all-questions-component">
<p class="govuk-body">
Social media link 3
</p>
<p class="govuk-body">
For example, your company's Facebook, Instagram or Twitter accounts (if applicable)
</p>
</div>
<h4 class="govuk-heading-s">
2.1.9. Check your answers
</h4>
</div>
</div>
</div>
{% endblock content %}
19 changes: 19 additions & 0 deletions assessment_store/config/mappings/assessment_mapping_fund_round.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@
CTDF_FUND_ID = "3dcfa617-cff8-4c2c-9edd-9568aa367d13"
CTDF_ROUND_1_ID = "7ecd7d64-1854-44ab-a10c-a7af4b8d68e1"

FFW_FUND_ID = "8b5c5dad-21a4-4ed1-970e-02d8a47dc49c"
FFW_ROUND_1_ID = "c27a5693-50f9-47fa-b5c2-c43b14d74af1"

GBRF_FUND_ID = "f97e3930-ab32-4353-84a6-3053d05382ae"
GBRF_ROUND_1_ID = "e480f03f-e3e0-4bd0-9026-dfed52cc3982"

Expand Down Expand Up @@ -221,6 +224,11 @@
"unscored_sections": dpif_unscored_sections,
"scored_criteria": dpif_scored_criteria,
},
f"{FFW_FUND_ID}:{FFW_ROUND_1_ID}": {
"schema_id": "ctdf_r1_assessment",
"unscored_sections": ctdf_unscored_sections,
"scored_criteria": ctdf_scored_sections,
},
f"{CTDF_FUND_ID}:{CTDF_ROUND_1_ID}": {
"schema_id": "ctdf_r1_assessment",
"unscored_sections": ctdf_unscored_sections,
Expand Down Expand Up @@ -251,6 +259,12 @@
"funding_one": None,
"funding_two": None,
},
"FFWAOR1": {
"location": None,
"asset_type": None,
"funding_one": None,
"funding_two": None,
},
"LPDFR1": {
"location": None,
"asset_type": None,
Expand Down Expand Up @@ -1409,6 +1423,11 @@
# APPLICATION SEEDING CONFIGURATION

fund_round_mapping_config = {
"FFWAOR1": {
"fund_id": FFW_FUND_ID,
"round_id": FFW_ROUND_1_ID,
"type_of_application": "FFW",
},
"GBRFR1": {
"fund_id": GBRF_FUND_ID,
"round_id": GBRF_ROUND_1_ID,
Expand Down
3 changes: 3 additions & 0 deletions config/envs/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,11 @@ class DevelopmentConfig(Config):
"HSRA_COMMENTER",
"CTDF_LEAD_ASSESSOR",
"CTDF_ASSESSOR",
"FFW_LEAD_ASSESSOR",
"FFW_ASSESSOR",
],
"highest_role_map": {
"FFW": DEBUG_USER_ROLE,
"GBRF": DEBUG_USER_ROLE,
"LPDF": DEBUG_USER_ROLE,
"CTDF": DEBUG_USER_ROLE,
Expand Down
Loading

0 comments on commit 9a65a51

Please sign in to comment.