diff --git a/DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService/CandidateAssessmentsDataService.cs b/DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService/CandidateAssessmentsDataService.cs index 3a28a4faea..f982934cd3 100644 --- a/DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService/CandidateAssessmentsDataService.cs +++ b/DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService/CandidateAssessmentsDataService.cs @@ -186,6 +186,7 @@ CandidateAssessments AS CA LEFT OUTER JOIN SA.SupervisorSelfAssessmentReview, SA.ReviewerCommentsLabel, SA.EnforceRoleRequirementsForSignOff, + SA.RetirementDate, COALESCE(SA.Vocabulary, 'Capability') AS Vocabulary, COUNT(C.ID) AS NumberOfCompetencies, CA.StartedDate, @@ -256,7 +257,8 @@ GROUP BY CA.LaunchCount, CA.SubmittedDate, SA.LinearNavigation, SA.UseDescriptionExpanders, SA.ManageOptionalCompetenciesPrompt, SA.SupervisorSelfAssessmentReview, SA.SupervisorResultsReview, SA.ReviewerCommentsLabel,SA.EnforceRoleRequirementsForSignOff, SA.ManageSupervisorsDescription,CA.NonReportable, - U.FirstName , U.LastName,SA.MinimumOptionalCompetencies, CA.SelfAssessmentProcessAgreed, SA.IncludeLearnerDeclarationPrompt", + U.FirstName , U.LastName,SA.MinimumOptionalCompetencies, CA.SelfAssessmentProcessAgreed, SA.IncludeLearnerDeclarationPrompt, + SA.RetirementDate", new { delegateUserId, selfAssessmentId } ); } diff --git a/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml b/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml index 4f3bed409c..a63546665e 100644 --- a/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml +++ b/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml @@ -48,7 +48,7 @@ {

+ asp-route-selfAssessmentId="@Model.SelfAssessment.Id"> Back to @Model.SelfAssessment.Name

@@ -56,6 +56,24 @@

@Model.SelfAssessment.Name - @Model.VocabPlural()

+ @if (@Model.SelfAssessment.RetirementDate!=null) + { +
+

+ + Important: + New version available + +

+
+

A new version of this assessment is now available. As you’re already begun, you can choose what works best for you.

+
    +
  • Continue with this version: Keep going with your current journey. Your progress will stay saved as usual.
  • +
  • Start the new version: Move to the updated version if you prefer. If you switch to the newer version, you will start from the beginning (0% progress), but your progress in the current version will still be kept on your record.
  • +
+
+
+ } @if (Model.SelfAssessment.NonReportable) { diff --git a/DigitalLearningSolutions.Web/Views/Supervisor/ConfirmRetiringSelfAssessment.cshtml b/DigitalLearningSolutions.Web/Views/Supervisor/ConfirmRetiringSelfAssessment.cshtml index 635bcba1e1..13763a64a1 100644 --- a/DigitalLearningSolutions.Web/Views/Supervisor/ConfirmRetiringSelfAssessment.cshtml +++ b/DigitalLearningSolutions.Web/Views/Supervisor/ConfirmRetiringSelfAssessment.cshtml @@ -23,11 +23,10 @@

Confirm Enrolment

You are about to enrol learners on a retiring self-assessment.

Retirement date: @Model.RetirementDate?.ToString("dd/MM/yyyy")

-

After this date, this self-assessment will no longer be available for use.

Please note:

    -
  • Learners may not have enough time to complete the self-assessment before it is retired
  • -
  • You may wish to consider enrolling them on an updated version, if available
  • +
  • once enrolled, learners can continue to complete the self-assessment even after the retirement date
  • +
  • you may wish to consider enrolling them on an updated version, if available

To continue, you must acknowledge that you understand the self-assessment is being retired and you still wish to proceed.

diff --git a/DigitalLearningSolutions.Web/Views/TrackingSystem/Delegates/Enrol/ConfirmRetiring.cshtml b/DigitalLearningSolutions.Web/Views/TrackingSystem/Delegates/Enrol/ConfirmRetiring.cshtml index 3412c32fe5..1281dffc7c 100644 --- a/DigitalLearningSolutions.Web/Views/TrackingSystem/Delegates/Enrol/ConfirmRetiring.cshtml +++ b/DigitalLearningSolutions.Web/Views/TrackingSystem/Delegates/Enrol/ConfirmRetiring.cshtml @@ -21,11 +21,10 @@

Confirm Enrolment

You are about to enrol learners on a retiring self-assessment.

Retirement date: @Model.RetirementDate?.ToString("dd/MM/yyyy")

-

After this date, this self-assessment will no longer be available for use.

Please note:

    -
  • Learners may not have enough time to complete the self-assessment before it is retired
  • -
  • You may wish to consider enrolling them on an updated version, if available
  • +
  • once enrolled, learners can continue to complete the self-assessment even after the retirement date
  • +
  • you may wish to consider enrolling them on an updated version, if available

To continue, you must acknowledge that you understand the self-assessment is being retired and you still wish to proceed.