Skip to content

Commit

Permalink
Banner width
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmking committed Jan 30, 2025
1 parent 5ac39d6 commit 7b6deb7
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions src/SFA.DAS.FAA.Web/Views/SavedVacancies/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,28 @@
ViewData["Title"] = "Saved vacancies - Find an apprenticeship - GOV.UK";
}

@if (Model is { ShowDeletedVacancyConfirmationMessage: true, DeletedVacancy: not null })
{
<div class="govuk-notification-banner govuk-notification-banner--success" role="alert"
aria-labelledby="govuk-notification-banner-title" data-module="govuk-notification-banner">
<div class="govuk-notification-banner__header">
<h2 class="govuk-notification-banner__title" id="govuk-notification-banner-title">
Success
</h2>
</div>
<div class="govuk-notification-banner__content">
<h3 class="govuk-notification-banner__heading">
Removed <a class="govuk-notification-banner__link"
href="@Url.RouteUrl(RouteNames.Vacancies, new { vacancyReference = @Model.DeletedVacancy.VacancyReference })">@Model.DeletedVacancy.VacancyTitle</a>
at @Model.DeletedVacancy.EmployerName.
</h3>
</div>
</div>
}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">

@if (Model is { ShowDeletedVacancyConfirmationMessage: true, DeletedVacancy: not null })
{
<div class="govuk-notification-banner govuk-notification-banner--success" role="alert"
aria-labelledby="govuk-notification-banner-title" data-module="govuk-notification-banner">
<div class="govuk-notification-banner__header">
<h2 class="govuk-notification-banner__title" id="govuk-notification-banner-title">
Success
</h2>
</div>
<div class="govuk-notification-banner__content">
<h3 class="govuk-notification-banner__heading">
Removed <a class="govuk-notification-banner__link"
href="@Url.RouteUrl(RouteNames.Vacancies, new { vacancyReference = @Model.DeletedVacancy.VacancyReference })">@Model.DeletedVacancy.VacancyTitle</a>
at @Model.DeletedVacancy.EmployerName.
</h3>
</div>
</div>
}

<h1 class="govuk-heading-xl faa-page-heading">Saved vacancies</h1>
@if (Model.ShowSortComponent)
{
Expand Down

0 comments on commit 7b6deb7

Please sign in to comment.