-
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.
Merge branch 'master' of https://github.com/SkillsFundingAgency/das-r…
…ecruit into CON-2110-Recruit-content-delete-the-advert
- Loading branch information
Showing
8 changed files
with
71 additions
and
48 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
16 changes: 9 additions & 7 deletions
16
src/Employer/Employer.Web/Views/ManageNotifications/ConfirmUnsubscribeNotifications.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
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
10 changes: 8 additions & 2 deletions
10
...yer/Employer.Web/Views/ManageNotifications/NotificationUnsubscribedAcknowledgement.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 |
---|---|---|
@@ -1,15 +1,21 @@ | ||
@{ | ||
ViewBag.Vpv = "/recruitment/employer/page-notification-unsubscribed-acknowledgement"; | ||
ViewBag.Title = "You’ve successfully unsubscribed from all advert and application emails"; | ||
} | ||
|
||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<div class="govuk-panel govuk-panel--confirmation"> | ||
<h1 class="govuk-panel__title"> | ||
You’ve successfully unsubscribed from recruitment emails | ||
You’ve successfully unsubscribed from all advert and application emails | ||
</h1> | ||
</div> | ||
<p>You’ll no longer get emails when you have updates to your vacancies. You can view updates on your recruitment dashboard.</p> | ||
|
||
<div class="govuk-body"> | ||
<p>You will not receive emails when there are updates to your adverts or when you have new applications.</p> | ||
<p>You can view updates on your dashboard.</p> | ||
</div> | ||
|
||
<a asp-route="@RouteNames.Dashboard_Get" class="govuk-button govuk-!-margin-bottom-6" esfa-automation="create-vacancy">Return to dashboard</a> | ||
</div> | ||
</div> |
39 changes: 24 additions & 15 deletions
39
...mployer/Employer.Web/Views/ManageNotifications/NotificationsUpdatedAcknowledgement.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 |
---|---|---|
@@ -1,33 +1,42 @@ | ||
@model Esfa.Recruit.Employer.Web.ViewModels.ManageNotifications.ManageNotificationsAcknowledgementViewModel | ||
@{ | ||
ViewBag.Vpv = "/recruitment/employer/page-notifications-updated-acknowledgement"; | ||
ViewBag.Title = "You’ve successfully saved your email preferences"; | ||
} | ||
|
||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<div class="govuk-panel govuk-panel--confirmation"> | ||
<h1 class="govuk-panel__title"> | ||
You’ve successfully saved your recruitment email preferences | ||
You’ve successfully saved your email preferences | ||
</h1> | ||
</div> | ||
|
||
<p asp-show="@Model.IsUserSubmittedVacanciesSelected">We'll send emails to <b>@Model.UserEmail</b> when your submitted vacancies:</p> | ||
<p asp-hide="@Model.IsUserSubmittedVacanciesSelected">We'll send emails to <b>@Model.UserEmail</b> when vacancies:</p> | ||
<div class="govuk-body"> | ||
|
||
<ul class="govuk-list govuk-list--bullet"> | ||
<li asp-show="@Model.IsVacancyRejectedSelected"> | ||
are rejected after review | ||
</li> | ||
@*User submitted and only one option selected*@ | ||
<p asp-show="(Model.IsUserSubmittedVacanciesSelected && Model.IsVacancyRejectedSelected && !Model.IsApplicationSubmittedSelected)"> We'll email <b>@Model.UserEmail</b> about any adverts you submit. You'll get emails when an advert is rejected after review. </p> | ||
<p asp-show="(Model.IsUserSubmittedVacanciesSelected && !Model.IsVacancyRejectedSelected && Model.IsApplicationSubmittedSelected)"> We'll email <b>@Model.UserEmail</b> about any adverts you submit. You'll get emails when you receive new applications (@Model.Frequency). </p> | ||
|
||
<li asp-show="@Model.IsVacancyClosingSoonSelected"> | ||
are closing soon | ||
</li> | ||
|
||
<li asp-show="@Model.IsApplicationSubmittedSelected"> | ||
receive new applications (@Model.Frequency) | ||
</li> | ||
</ul> | ||
@*All organisation and only one option selected*@ | ||
<p asp-show="(!Model.IsUserSubmittedVacanciesSelected && Model.IsVacancyRejectedSelected && !Model.IsApplicationSubmittedSelected)"> We'll email <b>@Model.UserEmail</b> about all apprenticeship adverts for your organisation. You'll get emails when an advert is rejected after review. </p> | ||
<p asp-show="(!Model.IsUserSubmittedVacanciesSelected && !Model.IsVacancyRejectedSelected && Model.IsApplicationSubmittedSelected)"> We'll email <b>@Model.UserEmail</b> about all apprenticeship adverts for your organisation. You'll get emails when you receive new applications (@Model.Frequency). </p> | ||
|
||
<div asp-show="Model.IsVacancyRejectedSelected && Model.IsApplicationSubmittedSelected"> | ||
<p asp-show="Model.IsUserSubmittedVacanciesSelected"> We'll email <b>@Model.UserEmail</b> about any adverts you submit. You'll get emails when: </p> | ||
<p asp-show="!Model.IsUserSubmittedVacanciesSelected"> We'll email <b>@Model.UserEmail</b> about all apprenticeship adverts for your organisation. You'll get emails when: </p> | ||
|
||
<ul class="govuk-list govuk-list--bullet"> | ||
<li> | ||
an advert is rejected after review | ||
</li> | ||
<li> | ||
you receive new applications (@Model.Frequency) | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<a asp-route="@RouteNames.Dashboard_Get" class="govuk-button govuk-!-margin-bottom-6" esfa-automation="create-vacancy">Return to dashboard</a> | ||
</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
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