File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed 
DigitalLearningSolutions.Web 
Views/TrackingSystem/Centre/SelfAssessmentReports Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public string GetTableauJwt(string email)
4242                {  "exp" ,  new  DateTimeOffset ( DateTime . UtcNow . AddMinutes ( 5 ) ) . ToUnixTimeSeconds ( )  } , 
4343                {  "sub" ,  user  } , 
4444                {  "scp" ,  new [ ]  {  "tableau:views:embed"  }  } , 
45-                 {  "UsersPrimaryEmail " ,  email } 
45+                 {  "Email " ,  email } 
4646        } ; 
4747            var  token  =  new  JwtSecurityToken ( header ,  payload ) ; 
4848            var  tokenHandler  =  new  JwtSecurityTokenHandler ( ) ; 
Original file line number Diff line number Diff line change 1818                <span  class =" nhsuk-u-visually-hidden" span >
1919            </span >@ViewData ["Title"]
2020        </h1 >
21-         <p  class =" nhsuk-lede-text" p >
21+         @if  (Model .SelfAssessmentSelects .Any ())
22+         { 
23+             <vc:action-link  asp-controller =" SelfAssessmentReports" asp-action =" TableauCompetencyDashboard" asp-all-route-data =" @new Dictionary<string, string>();" link-text =" View Tableau competency self assessment dashboard" 
24+         } 
25+         <h2 >Excel learner activity reports</h2 >
26+         <p  class =" nhsuk-lede-text" p >
2227        <ul >
2328            <li >
2429                <a  asp-controller =" SelfAssessmentReports" asp-action =" DownloadDigitalCapabilityToExcel" a >
3944                        } 
4045                    </li >
4146                } 
42-                 @if  (Model .SelfAssessmentSelects .Any ())
43-                 { 
44-                   <li >
45-                     <a  asp-controller =" SelfAssessmentReports" asp-action =" TableauCompetencyDashboard" @( $" View Tableau Competency Dashboards" ) </a >
46-                   </li >
47-                 } 
4847            } 
4948        </ul >
50-          
49+ 
5150
5251    </div >
5352</div >
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments