Skip to content

Commit

Permalink
Merge pull request #907 from SkillsFundingAgency/CON-2091-use-advert
Browse files Browse the repository at this point in the history
CON-2091-make vacancy as advert.
  • Loading branch information
Najamuddin-Muhammad authored Aug 3, 2020
2 parents e647412 + 288699f commit eefd37b
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions src/Employer/Employer.Web/Views/VacancyManage/ManageVacancy.cshtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@model Esfa.Recruit.Employer.Web.ViewModels.VacancyManage.ManageVacancyViewModel
@{
@{
ViewBag.Vpv = "/recruitment/employer/page-manage-vacancy";
ViewBag.Title = "Manage advert";
}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds govuk-!-margin-bottom-6">
Expand All @@ -10,25 +11,25 @@
</p>
</div>
<h3 class="govuk-heading-xl govuk-!-margin-top-6 govuk-!-margin-bottom-6" id="vacancy-header">
Manage vacancy
Manage advert
</h3>
<p asp-show="@Model.IsTransferred" class="govuk-inset-text">
This vacancy was created by
This advert was created by
<span class="govuk-!-font-weight-bold">@Model.TransferredProviderName</span>
and transferred to your account on @Model.TransferredOnDate
</p>

<p asp-show="@Model.IsWithdrawn" class="govuk-inset-text">
This vacancy has issues and was closed on @Model.WithdrawnDate.
This advert has issues and was closed on @Model.WithdrawnDate.
</p>

<p asp-show="@Model.IsClosedBlockedByQa" class="govuk-inset-text">
This vacancy was closed on @Model.ClosingDate because the training provider is no longer able to manage or recruit apprentices.
This advert was closed on @Model.ClosingDate because the training provider is no longer able to manage or recruit apprentices.
</p>

<div asp-show="@Model.HasVacancyClosedInfoMessage" class="info-summary govuk-!-margin-bottom-0">
<p class="govuk-body">@Model.VacancyClosedInfoMessage</p>
<p class="govuk-body">The vacancy will be unpublished from the Find an apprenticeship service within the next hour.</p>
<p class="govuk-body">The advert will be unpublished from the Find an apprenticeship service within the next hour.</p>
</div>
</div>
</div>
Expand All @@ -42,15 +43,15 @@
</div>
<div class="govuk-grid-row">
<div class="govuk-grid-column-one-third">
<h3 class="govuk-heading-s govuk-!-margin-top-0 govuk-!-margin-bottom-6">Vacancy title</h3>
<h3 class="govuk-heading-s govuk-!-margin-top-0 govuk-!-margin-bottom-6">Advert title</h3>
</div>
<div class="govuk-grid-column-two-thirds">
<span class="govuk-body">@Model.Title</span>
</div>
</div>
<div class="govuk-grid-row">
<div class="govuk-grid-column-one-third">
<h3 class="govuk-heading-s govuk-!-margin-top-0 govuk-!-margin-bottom-6">Vacancy ref</h3>
<h3 class="govuk-heading-s govuk-!-margin-top-0 govuk-!-margin-bottom-6">Advert reference number</h3>
</div>
<div class="govuk-grid-column-two-thirds">
<span class="govuk-body"><span>VAC</span>@Model.VacancyReference</span>
Expand Down Expand Up @@ -82,18 +83,21 @@
</div>
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<a asp-route="@RouteNames.DisplayFullVacancy_Get" target="_blank" class="govuk-button">View advert</a>
<ul class="govuk-list action-links">
<li asp-show="@Model.CanShowEditVacancyLink"><a asp-route="@RouteNames.VacancyEdit_Get" class="govuk-link">Edit vacancy</a></li>
<li asp-show="@Model.CanClone"><a asp-route="@RouteNames.CloneVacancy_Get" class="govuk-link">Clone vacancy</a></li>
<li asp-show="@Model.CanShowCloseVacancyLink"><a asp-route="@RouteNames.CloseVacancy_Get" class="govuk-link">Close vacancy</a></li>
<li><a asp-route="@RouteNames.DisplayFullVacancy_Get" target="_blank" class="govuk-link">View vacancy</a></li>

<li asp-show="@Model.CanShowEditVacancyLink"><a asp-route="@RouteNames.VacancyEdit_Get" class="govuk-link">Edit advert</a></li>
<li asp-show="@Model.CanClone"><a asp-route="@RouteNames.CloneVacancy_Get" class="govuk-link">Clone advert</a></li>
<li asp-show="@Model.CanShowCloseVacancyLink"><a asp-route="@RouteNames.CloseVacancy_Get" class="govuk-link">Close advert</a></li>

</ul>
</div>
</div>

<div asp-show="@Model.CanShowVacancyAnalytics" class="govuk-grid-row">
<div class="govuk-grid-column-full">
<h2 class="govuk-heading-l govuk-!-margin-top-9">Vacancy analytics
<h2 class="govuk-heading-l govuk-!-margin-top-9">
Advert analytics
<span asp-show="@Model.HasAnalytics" class="govuk-caption-l">Showing stats from @Model.AnalyticsSummary.PeriodCaption</span>
</h2>
<p asp-show="@Model.HasAnalytics" class="govuk-body">Analytics show the total amount and the change from the previous 7 days</p>
Expand All @@ -112,10 +116,8 @@
<p asp-show="@Model.HasNoApplications" class="govuk-body govuk-!-margin-bottom-0">Candidate applications for this apprenticeship will appear here.</p>
</div>
</div>
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<div class="govuk-!-margin-top-6">
<a asp-route="@RouteNames.Vacancies_Get" class="govuk-button">Return to dashboard</a>
</div>
<div class="govuk-body">
<div class="govuk-!-margin-top-6">
<a asp-route="@RouteNames.Vacancies_Get" class="govuk-link">Return to dashboard</a>
</div>
</div>

0 comments on commit eefd37b

Please sign in to comment.