File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService
DigitalLearningSolutions.Web/Views/SuperAdmin/Centres Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ GROUP BY
171171 public void UpdateLastAccessed ( int selfAssessmentId , int delegateUserId )
172172 {
173173 var numberOfAffectedRows = connection . Execute (
174- @"UPDATE CandidateAssessments SET LastAccessed = GETDATE ()
174+ @"UPDATE CandidateAssessments SET LastAccessed = GETUTCDATE ()
175175 WHERE SelfAssessmentID = @selfAssessmentId AND DelegateUserID = @delegateUserId" ,
176176 new { selfAssessmentId , delegateUserId }
177177 ) ;
Original file line number Diff line number Diff line change 1212 </ol >
1313 <p class =" nhsuk-breadcrumb__back" >
1414 <a class =" nhsuk-breadcrumb__backlink"
15- asp-controller =" Centres" asp-action =" Index"
16- >Back to Centres </a >
15+ asp-controller =" Centres" asp-action =" Index" >Back to Centres </a >
1716 </p >
1817 </div >
1918 </nav >
187186 <b >Per delegate upload space</b >
188187 </dt >
189188 <dd class =" nhsuk-summary-list__value" >
190- @Model.CandidateByteLimit MB
189+ @if (@Model .CandidateByteLimit == 1024 )
190+ {
191+ @( $" {Model .CandidateByteLimit / 1024 } GB" )
192+ }
193+ else
194+ {
195+ @( $" {Model .CandidateByteLimit } MB" )
196+ }
191197 </dd >
192198 </div >
193199 <div class =" nhsuk-summary-list__row details-list-with-button__row" >
208214 asp-controller =" Centres"
209215 asp-action =" CentreRoleLimits"
210216 asp-route-centreId =" @Model.CentreId" >
211- Customise role limits
217+ Customise role limits
212218 </a >
213219 </div >
214220 </div >
You can’t perform that action at this time.
0 commit comments