Skip to content

Commit 8275357

Browse files
steve-nimblePRIORjack-nimbleapproach
authored
make lead applicant label configurable (#167)
* make lead applicant label configurable * increment app version --------- Co-authored-by: PRIOR <Stephen.PRIOR@EDUCATION.GOV.UK> Co-authored-by: jack-nimbleapproach <128064239+jack-nimbleapproach@users.noreply.github.com>
1 parent 2b12f0a commit 8275357

5 files changed

Lines changed: 13 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,7 @@ All notable changes to this service will be documented in this file.
127127
## [1.3.14]
128128
### Notes
129129
- Remove the word "form" from the plan version label
130+
131+
## [1.3.15]
132+
### Notes
133+
- Make the lead applicant label configurable in form header

src/DfE.ExternalApplications.Web/DfE.ExternalApplications.Web.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<UserSecretsId>8051c984-585b-4a5e-b6d7-833e5dd4afe7</UserSecretsId>
8-
<Version>1.3.14</Version>
9-
<InformationalVersion>1.3.14</InformationalVersion>
8+
<Version>1.3.15</Version>
9+
<InformationalVersion>1.3.15</InformationalVersion>
1010
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
1111
</PropertyGroup>
1212

src/DfE.ExternalApplications.Web/Views/Shared/FormEngine/_FormHeader.cshtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@model DfE.ExternalApplications.Web.Pages.FormEngine.RenderFormModel
2+
@inject IConfiguration Configuration
3+
24
@{
35
var applicationId = Context.Session.GetString("ApplicationId");
46
var leadApplicantName = Context.Session.GetString($"ApplicationLeadApplicantName_{applicationId}");
@@ -9,5 +11,5 @@
911
<div class="govuk-!-margin-bottom-6" style="border-left: 4px solid #b1b4b6; padding-left: 15px;">
1012
<p class="govuk-body govuk-!-margin-bottom-1">@AppTerminology.SingularCapitalised reference: <strong>@Model.ReferenceNumber</strong></p>
1113
<p class="govuk-body govuk-!-margin-bottom-0">@AppTerminology.SingularCapitalised version: <strong>@applicationFormVersion</strong></p>
12-
<p class="govuk-body govuk-!-margin-bottom-0">Lead applicant: <strong>@leadApplicantName</strong></p>
14+
<p class="govuk-body govuk-!-margin-bottom-0">@Configuration["Layout:LeadApplicant"]: <strong>@leadApplicantName</strong></p>
1315
</div>

src/DfE.ExternalApplications.Web/configurations/Lsrp/appsettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@
130130
"PhaseText": "Alpha",
131131
"FeedbackLink": "/Feedback"
132132
},
133-
"ContributorEmail": "firstname.lastname@organisationdomain"
133+
"ContributorEmail": "firstname.lastname@organisationdomain",
134+
"LeadApplicant": "Senior Responsible Officer"
134135
},
135136
"Template": {
136137
"Id": "B2F8E7D4-2C46-4A91-8E73-9D5A1F4B6C89",

src/DfE.ExternalApplications.Web/configurations/Transfers/appsettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@
136136
"PhaseText": "Beta",
137137
"FeedbackLink": "/Feedback"
138138
},
139-
"ContributorEmail": "firstname.lastname@schooldomain"
139+
"ContributorEmail": "firstname.lastname@schooldomain",
140+
"LeadApplicant": "Lead applicant"
140141
},
141142
"Template": {
142143
"Id": "9A4E9C58-9135-468C-B154-7B966F7ACFB7",

0 commit comments

Comments
 (0)