From aa8b76fc1bd7f15834a0be48eefc846c07bf60f5 Mon Sep 17 00:00:00 2001 From: sherif-olaboye <123654949+sherif-olaboye@users.noreply.github.com> Date: Fri, 15 May 2026 14:51:45 +0100 Subject: [PATCH] TD-6952 Implementing tester observation on Working group page content --- .../SelfAssessmentNotificationService.cs | 6 ++-- .../CompetencyAssessmentWorkingGroup.cshtml | 28 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/DigitalLearningSolutions.Web/Services/SelfAssessmentNotificationService.cs b/DigitalLearningSolutions.Web/Services/SelfAssessmentNotificationService.cs index ccca71d0ea..c235893c37 100644 --- a/DigitalLearningSolutions.Web/Services/SelfAssessmentNotificationService.cs +++ b/DigitalLearningSolutions.Web/Services/SelfAssessmentNotificationService.cs @@ -42,11 +42,11 @@ public void SendCompetencyAssessmentCollaboratorInvite(int id, int invitedByAdmi var builder = new BodyBuilder { TextBody = $@"Dear colleague, - You have been identified as a {collaboratorNotification.CompetencyAssessmentRole} for the competency assessment, {collaboratorNotification.CompetencyAssessmentName} by {collaboratorNotification.InvitedByName} ({collaboratorNotification.InvitedByEmail}). - To access the competency assessment, visit this url: {competencyAssessmentUrl}. You must be registered on the Digital Learning Solutions platform to view the self-assessment.", + You have been identified as a {collaboratorNotification.CompetencyAssessmentRole} for {collaboratorNotification.CompetencyAssessmentName} by {collaboratorNotification.InvitedByName} ({collaboratorNotification.InvitedByEmail}). + To access the assessment, visit this url: {competencyAssessmentUrl}. You must be registered on the Digital Learning Solutions platform to view the self-assessment.", HtmlBody = $@"

Dear colleague,

-

You have been identified as a {collaboratorNotification.CompetencyAssessmentRole} for the competency assessment {collaboratorNotification.CompetencyAssessmentName}, by {collaboratorNotification.InvitedByName}.

+

You have been identified as a {collaboratorNotification.CompetencyAssessmentRole} for {collaboratorNotification.CompetencyAssessmentName}, by {collaboratorNotification.InvitedByName}.

Use this link to access the self-assessment. You must be registered on the Digital Learning Solutions platform to view the self-assessment.

", }; diff --git a/DigitalLearningSolutions.Web/Views/CompetencyAssessments/CompetencyAssessmentWorkingGroup.cshtml b/DigitalLearningSolutions.Web/Views/CompetencyAssessments/CompetencyAssessmentWorkingGroup.cshtml index c8ea135a7a..caa62ccbe6 100644 --- a/DigitalLearningSolutions.Web/Views/CompetencyAssessments/CompetencyAssessmentWorkingGroup.cshtml +++ b/DigitalLearningSolutions.Web/Views/CompetencyAssessments/CompetencyAssessmentWorkingGroup.cshtml @@ -1,7 +1,7 @@ @using DigitalLearningSolutions.Web.ViewModels.CompetencyAssessments @model WorkingGroupCollaboratorsViewModel @{ - ViewData["Title"] = "Assign working group"; + ViewData["Title"] = "Select working group members"; ViewData["Application"] = "Self-assessment service"; ViewData["HeaderPathName"] = "Self-assessment service"; string errMsg = TempData["CompetencyAssessmentError"]?.ToString(); @@ -33,9 +33,18 @@ @Model.CompetencyAssessmentName - Choose working group members -======= -

Select working group members

+Select working group members +
+ @if (Model.UserRole > 1) + { + +

Working group members

@@ -90,16 +99,7 @@
- - @if (Model.UserRole > 1) - { - - +