Skip to content

Commit

Permalink
Merge pull request #600 from cabinetoffice/EHD-1388-remove-or-update-…
Browse files Browse the repository at this point in the history
…layout-pages

EHD-1388: Remove or update layout pages
  • Loading branch information
jamesgriff authored Nov 20, 2024
2 parents a5aa8aa + e245c1d commit be2ee6e
Show file tree
Hide file tree
Showing 188 changed files with 2 additions and 682 deletions.
36 changes: 0 additions & 36 deletions GenderPayGap.WebUI/Classes/Bundle/Bundle.cs

This file was deleted.

69 changes: 0 additions & 69 deletions GenderPayGap.WebUI/Classes/Extensions/HtmlHelpers.cs

This file was deleted.

3 changes: 1 addition & 2 deletions GenderPayGap.WebUI/GenderPayGap.WebUI.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
Expand Down Expand Up @@ -142,7 +142,6 @@
<_ContentIncludedByDefault Remove="site\appsettings.PROD.json" />
<_ContentIncludedByDefault Remove="site\appsettings.TEST.json" />
<_ContentIncludedByDefault Remove="site\build-number.json" />
<_ContentIncludedByDefault Remove="site\bundleconfig.json" />
<_ContentIncludedByDefault Remove="site\GenderPayGap.WebUI.deps.json" />
<_ContentIncludedByDefault Remove="site\GenderPayGap.WebUI.runtimeconfig.json" />
<_ContentIncludedByDefault Remove="site\package-lock.json" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
@model GenderPayGap.WebUI.Models.AccountCreation.AlreadyCreatedAnAccountViewModel
@{
ViewBag.Title = "Have you already created your user account - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
@model GenderPayGap.WebUI.Models.AccountCreation.ConfirmEmailAddressViewModel
@{
ViewBag.Title = "Confirm your email address - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@model GenderPayGap.WebUI.Models.AccountCreation.ConfirmEmailAddressViewModel
@{
ViewBag.Title = "You've confirmed your email address - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
@model GenderPayGap.WebUI.Models.AccountCreation.CreateUserAccountViewModel
@{
ViewBag.Title = "Create my account - Gender pay gap reporting service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@if (Model.IsPartOfGovUkReportingJourney)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@using GenderPayGap.Core.Helpers
@{
ViewBag.Title = "User not found - Gender pay gap reporting service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@model GenderPayGap.WebUI.Models.AddOrganisation.AddOrganisationChooseSectorViewModel
@{
ViewBag.Title = "What type of employer do you want to add? - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
{
ViewBag.Title = "We've got your details, we'll review them and email you to confirm - Gender pay gap service";
}

Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

@{
ViewBag.Title = "Enter the PIN for this organisation - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@{
string encryptedOrganisationId = Encryption.EncryptQuerystring(Model.Organisation.OrganisationId.ToString());

Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
ViewBag.Title = "Service activated - Gender pay gap reporting service";
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
ViewBag.Title = userOrg.PINConfirmedDate.HasValue
? "You are already registered - Gender pay gap service"
: "You are already registering - Gender pay gap service";

Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
1 change: 0 additions & 1 deletion GenderPayGap.WebUI/Views/AddOrganisationFound/Found.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
@model GenderPayGap.WebUI.Models.AddOrganisation.AddOrganisationFoundViewModel
@{
ViewBag.Title = "Confirm your employer's details - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
@model GenderPayGap.WebUI.Models.AddOrganisation.AddOrganisationManualViewModel
@{
ViewBag.Title = "Registered address of employer - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@model GenderPayGap.WebUI.Models.AddOrganisation.AddOrganisationManualViewModel
@{
ViewBag.Title = "What type of employer do you want to add? - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
@model GenderPayGap.WebUI.Models.AddOrganisation.AddOrganisationManualViewModel
@{
ViewBag.Title = "Confirm your employer's details - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
@model GenderPayGap.WebUI.Models.AddOrganisation.AddOrganisationManualViewModel
@{
ViewBag.Title = "Employer name - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@model GenderPayGap.WebUI.Models.AddOrganisation.AddOrganisationManualViewModel
@{
ViewBag.Title = "Add a sector code to your employer - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@model GenderPayGap.WebUI.Models.AddOrganisation.AddOrganisationSearchViewModel
@{
ViewBag.Title = "Find employer - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
1 change: 0 additions & 1 deletion GenderPayGap.WebUI/Views/Admin/Search.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@{
ViewBag.Title = "Search - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
1 change: 0 additions & 1 deletion GenderPayGap.WebUI/Views/Admin/SendPinConfirmation.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

@{
ViewBag.Title = "Send PIN Confirmation - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

<div class="govuk-grid-row">
Expand Down
1 change: 0 additions & 1 deletion GenderPayGap.WebUI/Views/Admin/SendPinWarning.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

@{
ViewBag.Title = "Send PIN Warning - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
1 change: 0 additions & 1 deletion GenderPayGap.WebUI/Views/Admin/UnconfirmedPins.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

@{
ViewBag.Title = "Unconfirmed PINs in the Post - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
1 change: 0 additions & 1 deletion GenderPayGap.WebUI/Views/Admin/ViewAuditLogs.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
: Model.Organisation.OrganisationName;

ViewBag.Title = $"Audit logs - {userOrOrganisationName} - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
1 change: 0 additions & 1 deletion GenderPayGap.WebUI/Views/Admin/ViewOrganisation.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

@{
ViewBag.Title = $"Organisation Details - {Model.Organisation.OrganisationName} - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
1 change: 0 additions & 1 deletion GenderPayGap.WebUI/Views/Admin/ViewUser.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

@{
ViewBag.Title = "User Details - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@model GenderPayGap.WebUI.Models.Admin.AdminDashboardData
@{
ViewBag.Title = $"Data Dashboard - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
const string wholeNumberFormat = "#,0";
const string percentNumberFormat = "0.0";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
@model NotReportedViewModel
@{
ViewBag.Title = $"Data Dashboard - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@model GenderPayGap.WebUI.Models.Admin.AdminFileUploadViewModel
@{
ViewBag.Title = "Data Migration - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@model GenderPayGap.WebUI.Models.Admin.AdminDataMigrationViewModel
@{
ViewBag.Title = "Data Migration - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
var title = "Active organisations with the same company number";

ViewBag.Title = $"{title} - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
var title = "Active organisations with the same name";

ViewBag.Title = $"{title} - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
@using GenderPayGap.Core.Helpers
@{
ViewBag.Title = "Database integrity checks - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
var title = "New or Active users with the same email address";

ViewBag.Title = $"{title} - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";

List<string> duplicateEmailAddresses = Model
.OrderBy(user => user.EmailAddress)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
var title = "Organisations to consider for de-scoping";

ViewBag.Title = $"{title} - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
var title = "Organisations where the latest address is not active";

ViewBag.Title = $"{title} - Administration - Gender pay gap service";
Layout = "~/Views/GovUkFrontend/GovUkFrontendLayout.cshtml";
}

@section BeforeMain {
Expand Down
Loading

0 comments on commit be2ee6e

Please sign in to comment.