Skip to content

Commit a37cac7

Browse files
steve-nimblePRIOR
andauthored
Make contributor email example configurable (#162)
* make contributor email example configurable * increment version number for web app * fix changelog text --------- Co-authored-by: PRIOR <Stephen.PRIOR@EDUCATION.GOV.UK>
1 parent 592451c commit a37cac7

5 files changed

Lines changed: 14 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,8 @@ All notable changes to this service will be documented in this file.
114114

115115
## [1.3.11]
116116
### Notes
117-
- Added site-wide notification banner and feature flag
117+
- Added site-wide notification banner and feature flag
118+
119+
## [1.3.12]
120+
### Notes
121+
- Make email address configurable on invite a contributor page

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.11</Version>
9-
<InformationalVersion>1.3.11</InformationalVersion>
8+
<Version>1.3.12</Version>
9+
<InformationalVersion>1.3.12</InformationalVersion>
1010
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
1111
</PropertyGroup>
1212

src/DfE.ExternalApplications.Web/Pages/Applications/Contributors.cshtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
@page "/applications/{referenceNumber}/contributors"
22
@using DfE.ExternalApplications.Web.Extensions
33
@model ContributorsModel
4+
@inject IConfiguration Configuration
5+
46
@{
57
ViewData["Title"] = "Invite contributors";
68

@@ -33,7 +35,7 @@
3335
</p>
3436

3537
<p class="govuk-body">
36-
They must have a DfE Sign-in account. They can only create an account using a business email address with their name. For example, firstname.lastname@schooldomain.
38+
They must have a DfE Sign-in account. They can only create an account using a business email address with their name. For example, @Configuration["Layout:ContributorEmail"].
3739
</p>
3840

3941
<p class="govuk-body">

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@
129129
"PhaseBanner": {
130130
"PhaseText": "Alpha",
131131
"FeedbackLink": "/Feedback"
132-
}
132+
},
133+
"ContributorEmail": "firstname.lastname@organisationdomain"
133134
},
134135
"Template": {
135136
"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
@@ -135,7 +135,8 @@
135135
"PhaseBanner": {
136136
"PhaseText": "Beta",
137137
"FeedbackLink": "/Feedback"
138-
}
138+
},
139+
"ContributorEmail": "firstname.lastname@schooldomain"
139140
},
140141
"Template": {
141142
"Id": "9A4E9C58-9135-468C-B154-7B966F7ACFB7",

0 commit comments

Comments
 (0)