Skip to content

Commit

Permalink
Merge pull request #915 from DFE-Digital/bugs/fix-help-links-with-env…
Browse files Browse the repository at this point in the history
…-var

Added env var for support links
  • Loading branch information
sukhybhullar-nimble authored Oct 16, 2024
2 parents 982db72 + 944f6e7 commit 6ea8b2d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@inject Microsoft.Extensions.Configuration.IConfiguration _configuration
@inject Microsoft.Extensions.Configuration.IConfiguration Configuration

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
Expand All @@ -10,7 +10,7 @@
If you pasted the web address, check you copied the entire address.
</p>
<p class="govuk-body">
If the web address is correct or you selected a link or button, <a href="https://forms.office.com/Pages/ResponsePage.aspx?id=yXfS-grGoU2187O4s0qC-X7F89QcWu5CjlJXwF0TVktUMTFEUVRCVVg4WlMyS1AzUEJSUDAySlhQTCQlQCN0PWcu" class="govuk-link">get help with a Regions Group System (opens in new tab).</a>
If the web address is correct or you selected a link or button, <a href="@Configuration["SupportLink"]" class="govuk-link">get help with a Regions Group System (opens in new tab).</a>
</p>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
@model Dfe.ManageFreeSchoolProjects.Pages.Errors.IndexModel
@inject Microsoft.Extensions.Configuration.IConfiguration Configuration

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l" id="error-heading">@Model.ErrorMessage</h1>
<p class="govuk-body">
Try again later.
</p>
<p class="govuk-body">
If the system is still not working, <a href="https://forms.office.com/Pages/ResponsePage.aspx?id=yXfS-grGoU2187O4s0qC-X7F89QcWu5CjlJXwF0TVktUMTFEUVRCVVg4WlMyS1AzUEJSUDAySlhQTCQlQCN0PWcu" class="govuk-link">get help with a Regions Group system.</a>
If the system is still not working, <a href="@Configuration["SupportLink"]" class="govuk-link">get help with a Regions Group system.</a>
</p>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</p>
<p class="govuk-body">
If you’re not happy with how we respond to your complaint,
<a class="govuk-link" target="_blank" rel="noopener" href="https://www.equalityadvisoryservice.com/">contact the Equality Advisory and Support Service (EASS) (opens in new tab)</a>.
<a class="govuk-link" target="_blank" rel="noopener" href="https://www.equalityadvisoryservice.com/">contact the Equality Advisory and Support Service (EASS)</a>.
</p>

<h2 class="govuk-heading-l">Technical information about this website's accessibility</h2>
Expand Down

0 comments on commit 6ea8b2d

Please sign in to comment.