File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed
DigitalLearningSolutions.Web/Views Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1212 ViewData [" CustomisationId" ] = Model .Id ;
1313 ViewData [" HeaderPath" ] = $" {Configuration [" AppRootPath" ]}/LearningMenu/{Model .Id }/Password" ;
1414 ViewData [" HeaderPathName" ] = Model .Title ;
15+ ViewData [" BannerText" ] = Model .BannerText ;
1516}
1617@section NavMenuItems {
1718 <partial name =" Shared/_NavMenuItems" />
3637 <div class =" nhsuk-grid-column-full" >
3738 <h1 id =" page-heading" class =" nhsuk-heading-xl" >@Model.Title </h1 >
3839 <p class =" nhsuk-u-font-size-24" >@Model.Description </p >
39- <p class =" nhsuk-u-secondary-text-color nhsuk-heading-s" >@Model.BannerText </p >
4040 </div >
4141 </div >
4242
Original file line number Diff line number Diff line change 1212 ViewData [" CustomisationId" ] = Model .Id ;
1313 ViewData [" HeaderPath" ] = $" {Configuration [" AppRootPath" ]}/LearningMenu/{Model .Id }" ;
1414 ViewData [" HeaderPathName" ] = Model .Title ;
15+ ViewData [" BannerText" ] = Model .BannerText ;
1516}
1617@section NavMenuItems {
1718 <partial name =" Shared/_NavMenuItems" />
4243 }
4344
4445 <p class =" nhsuk-u-margin-bottom-0 nhsuk-heading-m" >@Model.CentreName </p >
45- <p class =" nhsuk-u-secondary-text-color nhsuk-heading-s" >@Model.BannerText </p >
4646 </div >
4747</div >
4848
Original file line number Diff line number Diff line change 11@using DigitalLearningSolutions .Web .ViewModels .Common .ViewComponents
22@model DlsFooterBannerTextViewModel
33@{
4- var currentApplication = ViewData [" Application" ]? .ToString ();
5- }
6- @{
7- if (! String .IsNullOrEmpty (currentApplication ) && (currentApplication .Contains (" Learning Portal" ) || currentApplication .Contains (" Supervisor" )))
4+ if (! String .IsNullOrEmpty (Model .CentreName ))
85 {
96 < h2 class = " nhsuk-heading-xs nhsuk-u-margin-bottom-2 nhsuk-u-secondary-text-color" > Need help ? < / h2 >
107 < div class = " nhsuk-footer nhsuk-u-font-size-16 nhsuk-u-secondary-text-color" >
Original file line number Diff line number Diff line change 66 ViewData [" Title" ] = " Dashboard" ;
77 ViewData [" Application" ] = " Supervisor" ;
88 ViewData [" HeaderPathName" ] = " Supervisor" ;
9+ ViewData [" BannerText" ] = Model .BannerText ;
910}
1011<link rel =" stylesheet" href =" @Url.Content(" ~ /css /frameworks /frameworksShared.css " )" asp-append-version =" true" >
1112@section NavMenuItems {
You can’t perform that action at this time.
0 commit comments