File tree Expand file tree Collapse file tree 4 files changed +27
-18
lines changed 
DigitalLearningSolutions.Web/Views Expand file tree Collapse file tree 4 files changed +27
-18
lines changed Original file line number Diff line number Diff line change 66<link  rel =" stylesheet"   href =" @Url.Content(" ~ /css /learningPortal /courses.css " )"   asp-append-version =" true"  >
77
88@{ 
9-   ViewData [" Application"  ] =  " Learning Portal"  ;
10-   ViewData [" Title"  ] =  " Available Activities"  ;
11-   ViewData [" HeaderPath"  ] =  $" {Configuration [" AppRootPath"  ]}/LearningPortal/Available"  ;
12-   ViewData [" HeaderPathName"  ] =  " Learning Portal"  ;
9+     ViewData [" Application"  ] =  " Learning Portal"  ;
10+     ViewData [" Title"  ] =  " Available Activities"  ;
11+     ViewData [" HeaderPath"  ] =  $" {Configuration [" AppRootPath"  ]}/LearningPortal/Available"  ;
12+     ViewData [" HeaderPathName"  ] =  " Learning Portal"  ;
13+     ViewData [" BannerText"  ] =  Model .BannerText ;
1314} 
1415
1516@section  NavMenuItems { 
2425
2526  <div  class =" nhsuk-grid-column-full"  >
2627    <h1  id =" page-heading"  >Available Activities</h1 >
27-     @if  (Model .BannerText  !=  null )
28-     { 
29-       <h2  class =" page-subheading"  >@Model.BannerText </h2 >
30-     } 
3128
3229    <partial  name =" SearchablePage/Configurations/_FullWidthSearchSortAndFilter"   model =" Model"   />
3330
Original file line number Diff line number Diff line change 1010  ViewData [" Title"  ] =  " My Completed Activities"  ;
1111  ViewData [" HeaderPath"  ] =  $" {Configuration [" AppRootPath"  ]}/LearningPortal/Completed"  ;
1212  ViewData [" HeaderPathName"  ] =  " Learning Portal"  ;
13+   ViewData [" BannerText"  ] =  Model .BannerText ;
1314} 
1415
1516@if  (Model .JavascriptSearchSortFilterPaginateEnabled )
1920<div  class =" nhsuk-grid-row"   id =" @(Model.JavascriptSearchSortFilterPaginateEnabled ? " js-styling-hidden-area-while-loading "  : " no-js-styling " )"  >
2021  <div  class =" nhsuk-grid-column-full"  >
2122    <h1  id =" page-heading"  >My Completed Activities</h1 >
22-     @if  (Model .BannerText  !=  null )
23-     { 
24-       <h2  class =" page-subheading"  >@Model.BannerText </h2 >
25-     } 
26- 
23+     
2724    @if  (! Model .ApiIsAccessible )
2825    { 
2926      <vc:learning-resource-warning  css-class =" nhsuk-u-margin-bottom-4 nhsuk-u-margin-top-4" 
Original file line number Diff line number Diff line change 1212  ViewData [" Title"  ] =  " My Current Activities"  ;
1313  ViewData [" HeaderPath"  ] =  $" {Configuration [" AppRootPath"  ]}/LearningPortal/Current"  ;
1414  ViewData [" HeaderPathName"  ] =  " Learning Portal"  ;
15+     ViewData [" BannerText"  ] =  Model .BannerText ;
1516} 
1617
1718@section  NavMenuItems { 
2526<div  class =" nhsuk-grid-row"   id =" @(Model.JavascriptSearchSortFilterPaginateEnabled ? " js-styling-hidden-area-while-loading "  : " no-js-styling " )"  >
2627  <div  class =" nhsuk-grid-column-full"  >
2728    <h1  id =" page-heading"  >My Current Activities</h1 >
28-     @if  (Model .BannerText  !=  null )
29-     { 
30-       <h2  class =" page-subheading word-break"  >@Model.BannerText </h2 >
31-     } 
32- 
29+     
3330    @if  (! Model .ApiIsAccessible )
3431    { 
3532      <vc:learning-resource-warning  css-class =" nhsuk-u-margin-bottom-4 nhsuk-u-margin-top-4" 
Original file line number Diff line number Diff line change 1+ @{ 
2+     var  currentPath  =  Context .Request .Path .ToString ();
3+ } 
14<footer  role =" contentinfo"  >
25    <div  class =" nhsuk-footer-container"  >
6+         <div  class =" nhsuk-width-container"  >
7+             @{ 
8+                 if  (currentPath .Contains (" /LearningPortal/Current"  ) ||  currentPath .Contains (" /LearningPortal/Completed"  ) ||  currentPath .Contains (" /LearningPortal/Available"  ))
9+                 {
10+                     < h2  class = " nhsuk-u-visually-hidden" > Centre  Information < / h2 > 
11+                     < div  class = " nhsuk-footer" > 
12+                         < ul  class = " nhsuk-footer__list" > 
13+                             < li  class = " nhsuk-footer__list-item" > 
14+                                 < span > Centre  contact  information : < / span >  < span > @ViewData [" BannerText"  ]< / span > 
15+                             < / li > 
16+                         < / ul > 
17+                     < / div > 
18+                 }
19+             } 
20+         </div >
321        <div  class =" nhsuk-width-container"  >
422            <h2  class =" nhsuk-u-visually-hidden"  >Support links</h2 >
523            <div  class =" nhsuk-footer"  >
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments