Skip to content

Commit

Permalink
Merge pull request #262 from communitiesuk/bau/fix-typo
Browse files Browse the repository at this point in the history
Bau/fix typo
  • Loading branch information
samuelhwilliams authored Jan 31, 2025
2 parents c55e3f0 + 9e39309 commit 6d6a123
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
20 changes: 10 additions & 10 deletions app/blueprints/fund/templates/fund_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
"classes": "govuk-!-margin-bottom-9",
"rows": [
{
"key": {"text": form.name_en.label},
"key": {"text": form.name_en.label.text},
"value": {"text": fund.name_json["en"]},
"actions": {
"items": [
Expand All @@ -40,7 +40,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
},
},
{
"key": {"text": form.name_cy.label},
"key": {"text": form.name_cy.label.text},
"value": {"text": fund.name_json["cy"]},
"actions": {
"items": [
Expand All @@ -54,7 +54,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
},
} if fund.welsh_available else {},
{
"key": {"text": form.short_name.label},
"key": {"text": form.short_name.label.text},
"value": {"text": fund.short_name},
"actions": {
"items": [
Expand All @@ -68,7 +68,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
}
},
{
"key": {"text": form.title_en.label},
"key": {"text": form.title_en.label.text},
"value": {"text": "Apply for " + fund.title_json["en"]},
"actions": {
"items": [
Expand All @@ -82,7 +82,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
}
},
{
"key": {"text": form.title_cy.label},
"key": {"text": form.title_cy.label.text},
"value": {"text": "Apply for " + fund.title_json["cy"] if fund.title_json["cy"] else ""},
"actions": {
"items": [
Expand All @@ -96,7 +96,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
},
} if fund.welsh_available else {},
{
"key": {"text": form.funding_type.label},
"key": {"text": form.funding_type.label.text},
"value": {"text": fund.funding_type.get_text_for_display()},
"actions": {
"items": [
Expand All @@ -110,7 +110,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
}
},
{
"key": {"text": form.welsh_available.label},
"key": {"text": form.welsh_available.label.text},
"value": {"text": "Yes" if fund.welsh_available else "No"},
"actions": {
"items": [
Expand All @@ -124,7 +124,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
}
},
{
"key": {"text": form.description_en.label},
"key": {"text": form.description_en.label.text},
"value": {"text": fund.description_json["en"]},
"actions": {
"items": [
Expand All @@ -138,7 +138,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
}
},
{
"key": {"text": form.description_cy.label},
"key": {"text": form.description_cy.label.text},
"value": {"text": fund.description_json["cy"]},
"actions": {
"items": [
Expand All @@ -152,7 +152,7 @@ <h1 class="govuk-heading-l">{{ fund.name_json["en"] }}</h1>
}
} if fund.welsh_available else {},
{
"key": {"text": form.ggis_scheme_reference_number.label},
"key": {"text": form.ggis_scheme_reference_number.label.text},
"value": {"text": fund.ggis_scheme_reference_number},
"actions": {
"items": [
Expand Down
46 changes: 23 additions & 23 deletions app/blueprints/round/templates/round_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
"classes": "govuk-!-margin-bottom-9",
"rows": [
{
"key": {"text": form.title_en.label},
"key": {"text": form.title_en.label.text},
"value": {"text": round.title_json["en"]},
"actions": {
"items": [
Expand All @@ -68,7 +68,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.title_cy.label},
"key": {"text": form.title_cy.label.text},
"value": {"text": round.title_json["cy"]},
"actions": {
"items": [
Expand All @@ -82,7 +82,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
} if round.fund.welsh_available else {},
{
"key": {"text": form.short_name.label},
"key": {"text": form.short_name.label.text},
"value": {"text": round.short_name},
"actions": {
"items": [
Expand All @@ -96,7 +96,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.opens.label},
"key": {"text": form.opens.label.text},
"value": {"text": round.opens.strftime('%d %B %Y at %H:%M')},
"actions": {
"items": [
Expand All @@ -110,7 +110,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.deadline.label},
"key": {"text": form.deadline.label.text},
"value": {"text": round.deadline.strftime('%d %B %Y at %H:%M')},
"actions": {
"items": [
Expand All @@ -124,7 +124,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.reminder_date.label},
"key": {"text": form.reminder_date.label.text},
"value": {"text": round.reminder_date.strftime('%d %B %Y at %H:%M')},
"actions": {
"items": [
Expand All @@ -138,7 +138,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.assessment_start.label},
"key": {"text": form.assessment_start.label.text},
"value": {"text": round.assessment_start.strftime('%d %B %Y at %H:%M')},
"actions": {
"items": [
Expand All @@ -152,7 +152,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.assessment_deadline.label},
"key": {"text": form.assessment_deadline.label.text},
"value": {"text": round.assessment_deadline.strftime('%d %B %Y at %H:%M')},
"actions": {
"items": [
Expand Down Expand Up @@ -222,7 +222,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.support_times.label},
"key": {"text": form.support_times.label.text},
"value": {"text": round.support_times},
"actions": {
"items": [
Expand All @@ -236,7 +236,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.support_days.label},
"key": {"text": form.support_days.label.text},
"value": {"text": round.support_days},
"actions": {
"items": [
Expand Down Expand Up @@ -320,7 +320,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.prospectus_link.label},
"key": {"text": form.prospectus_link.label.text},
"value": {"text": round.prospectus_link},
"actions": {
"items": [
Expand All @@ -334,7 +334,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.privacy_notice_link.label},
"key": {"text": form.privacy_notice_link.label.text},
"value": {"text": round.privacy_notice_link},
"actions": {
"items": [
Expand All @@ -348,7 +348,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.project_name_field_id.label},
"key": {"text": form.project_name_field_id.label.text},
"value": {"text": round.project_name_field_id},
"actions": {
"items": [
Expand Down Expand Up @@ -390,7 +390,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
} if round.fund.welsh_available else {},
{
"key": {"text": form.reference_contact_page_over_email.label},
"key": {"text": form.reference_contact_page_over_email.label.text},
"value": {"text": "Yes" if round.reference_contact_page_over_email else "No"},
"actions": {
"items": [
Expand All @@ -404,7 +404,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.application_fields_download_available.label},
"key": {"text": form.application_fields_download_available.label.text},
"value": {"text": "Yes" if round.application_fields_download_available else "No"},
"actions": {
"items": [
Expand All @@ -418,7 +418,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.display_logo_on_pdf_exports.label},
"key": {"text": form.display_logo_on_pdf_exports.label.text},
"value": {"text": "Yes" if round.display_logo_on_pdf_exports else "No"},
"actions": {
"items": [
Expand All @@ -432,7 +432,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.mark_as_complete_enabled.label},
"key": {"text": form.mark_as_complete_enabled.label.text},
"value": {"text": "Yes" if round.mark_as_complete_enabled else "No"},
"actions": {
"items": [
Expand All @@ -446,7 +446,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.is_expression_of_interest.label},
"key": {"text": form.is_expression_of_interest.label.text},
"value": {"text": "Yes" if round.is_expression_of_interest == "true" else "No"},
"actions": {
"items": [
Expand All @@ -460,7 +460,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": "form.has_feedback_survey.label"},
"key": {"text": form.has_feedback_survey.label.text},
"value": {"text": "Yes" if round.feedback_survey_config["has_feedback_survey"] else "No"},
"actions": {
"items": [
Expand All @@ -474,7 +474,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.is_feedback_survey_optional.label},
"key": {"text": form.is_feedback_survey_optional.label.text},
"value": {"text": "Yes" if round.feedback_survey_config["is_feedback_survey_optional"] else "No"},
"actions": {
"items": [
Expand All @@ -488,7 +488,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.has_research_survey.label},
"key": {"text": form.has_research_survey.label.text},
"value": {"text": "Yes" if round.feedback_survey_config["has_research_survey"] else "No"},
"actions": {
"items": [
Expand All @@ -502,7 +502,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.is_research_survey_optional.label},
"key": {"text": form.is_research_survey_optional.label.text},
"value": {"text": "Yes" if round.feedback_survey_config["is_research_survey_optional"] else "No"},
"actions": {
"items": [
Expand All @@ -516,7 +516,7 @@ <h2 class="govuk-heading-l govuk-!-margin-bottom-0">Apply for {{ round.fund.titl
},
},
{
"key": {"text": form.eligibility_config.label},
"key": {"text": form.eligibility_config.label.text},
"value": {"text": "Yes" if round.eligibility_config["has_eligibility"] else "No"},
"actions": {
"items": [
Expand Down

0 comments on commit 6d6a123

Please sign in to comment.