-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ER-1145 - Withdrawn application error page (#822) +semver: patch
- Loading branch information
1 parent
6f878b0
commit cbc8f50
Showing
10 changed files
with
96 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/Employer/Employer.Web/Exceptions/ApplicationWithdrawnException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using Esfa.Recruit.Vacancies.Client.Domain.Exceptions; | ||
|
||
namespace Esfa.Recruit.Employer.Web.Exceptions | ||
{ | ||
public class ApplicationWithdrawnException : RecruitException | ||
{ | ||
public Guid VacancyId { get;} | ||
|
||
public ApplicationWithdrawnException(string message, Guid vacancyId) : base(message) | ||
{ | ||
VacancyId = vacancyId; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/Employer/Employer.Web/Views/Error/ApplicationWithdrawn.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@model string | ||
|
||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<h1 class="govuk-heading-xl govuk-!-margin-bottom-0">This application has been withdrawn by the candidate</h1> | ||
|
||
<p class="govuk-body govuk-!-margin-top-3"> | ||
<a href="@Model" class="govuk-button">Back to vacancy</a> | ||
</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/Provider/Provider.Web/Exceptions/ApplicationWithdrawnException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using Esfa.Recruit.Vacancies.Client.Domain.Exceptions; | ||
|
||
namespace Esfa.Recruit.Proivder.Web.Exceptions | ||
{ | ||
public class ApplicationWithdrawnException : RecruitException | ||
{ | ||
public Guid VacancyId { get;} | ||
|
||
public ApplicationWithdrawnException(string message, Guid vacancyId) : base(message) | ||
{ | ||
VacancyId = vacancyId; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/Provider/Provider.Web/Views/Error/ApplicationWithdrawn.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@model string | ||
|
||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<h1 class="govuk-heading-xl govuk-!-margin-bottom-0">This application has been withdrawn by the candidate</h1> | ||
|
||
<p class="govuk-body govuk-!-margin-top-3"> | ||
<a href="@Model" class="govuk-button">Back to vacancy</a> | ||
</p> | ||
</div> | ||
</div> |