From 0a1e604c8484084bf3b3bf409d334876c6afbe27 Mon Sep 17 00:00:00 2001 From: kevwhitt-hee Date: Fri, 26 Aug 2022 08:44:23 +0100 Subject: [PATCH 1/3] DLSV2-619 Tweaks to wording following feedback --- .../Views/Supervisor/NominateSupervisor.cshtml | 12 ++++++------ .../Views/Supervisor/Shared/_StaffMemberCard.cshtml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DigitalLearningSolutions.Web/Views/Supervisor/NominateSupervisor.cshtml b/DigitalLearningSolutions.Web/Views/Supervisor/NominateSupervisor.cshtml index f1858176c1..26d2cc0457 100644 --- a/DigitalLearningSolutions.Web/Views/Supervisor/NominateSupervisor.cshtml +++ b/DigitalLearningSolutions.Web/Views/Supervisor/NominateSupervisor.cshtml @@ -5,7 +5,7 @@ @{ var errorHasOccurred = !ViewData.ModelState.IsValid; ViewData["Application"] = "Supervisor"; - ViewData["Title"] = (errorHasOccurred ? "Error: " : "") + "My Staff - Nominate Supervisor"; + ViewData["Title"] = (errorHasOccurred ? "Error: " : "") + "Confirm Nominate supervisor"; ViewData["HeaderPath"] = $"{Configuration["AppRootPath"]}/Supervisor/MyStaff"; ViewData["HeaderPathName"] = "My Staff"; } @@ -20,7 +20,7 @@ { } -

Confirm Nominate Supervisor

+

@ViewData["Title"]

@@ -31,13 +31,13 @@ @Model.FirstName @Model.LastName (@Model.DelegateEmail)
-

By nominating this member of staff as a supervisor, you are confirming there competence to assess the capability of others.

-

Once the nominated supervisor role has been assigned, it can only be removed by a Centre Manager or Clinical Centre Manager.

+

By promoting this member of staff to the Nominated supervisor role, you are confirming there competence to assess the capability of others.

+

Once the Nominated supervisor role has been assigned, it can only be removed by a Centre Manager or Clinical Centre Manager.

+ label="I am sure that I wish to promote @Model.FirstName @Model.LastName to the Nominated supervisor role" + hint-text="I understand that the Nominated Supervisor role can only be removed by a Centre Manager or Clinical Centre Manager." />
- @Html.HiddenFor(m => m.Id) - @Html.HiddenFor(m => m.FirstName) - @Html.HiddenFor(m => m.LastName) - @Html.HiddenFor(m => m.DelegateEmail) - @Html.HiddenFor(m => m.CandidateAssessmentCount) - @Html.HiddenFor(m => m.ReturnPageQuery) -
+

By promoting this member of staff to the Nominated supervisor role, you are confirming there competence to assess the capability of others.

+

Once the Nominated supervisor role has been assigned, it can only be removed by a Centre Manager or Clinical Centre Manager.

+
+
+ +
+ + @Html.HiddenFor(m => m.Id) + @Html.HiddenFor(m => m.FirstName) + @Html.HiddenFor(m => m.LastName) + @Html.HiddenFor(m => m.DelegateEmail) + @Html.HiddenFor(m => m.CandidateAssessmentCount) + @Html.HiddenFor(m => m.ReturnPageQuery) +
- -
+ + From 68d979124501da8a9b15d40501636223eb6bb255 Mon Sep 17 00:00:00 2001 From: kevwhitt-hee Date: Fri, 26 Aug 2022 08:56:45 +0100 Subject: [PATCH 3/3] DLSV2-619 Hides button for not registered staff and makes "not registered" the consistent term used --- DigitalLearningSolutions.Web/Views/Supervisor/Index.cshtml | 2 +- .../Views/Supervisor/Shared/_StaffMemberCard.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DigitalLearningSolutions.Web/Views/Supervisor/Index.cshtml b/DigitalLearningSolutions.Web/Views/Supervisor/Index.cshtml index 52ae7eecb7..e1561e1a8c 100644 --- a/DigitalLearningSolutions.Web/Views/Supervisor/Index.cshtml +++ b/DigitalLearningSolutions.Web/Views/Supervisor/Index.cshtml @@ -34,7 +34,7 @@ @Model.DashboardData.StaffCount Staff @if (Model.DashboardData.StaffUnregisteredCount > 0) { - (@Model.DashboardData.StaffUnregisteredCount unregistered) + (@Model.DashboardData.StaffUnregisteredCount not registered) }

diff --git a/DigitalLearningSolutions.Web/Views/Supervisor/Shared/_StaffMemberCard.cshtml b/DigitalLearningSolutions.Web/Views/Supervisor/Shared/_StaffMemberCard.cshtml index 75514c69f5..d21b41ec13 100644 --- a/DigitalLearningSolutions.Web/Views/Supervisor/Shared/_StaffMemberCard.cshtml +++ b/DigitalLearningSolutions.Web/Views/Supervisor/Shared/_StaffMemberCard.cshtml @@ -72,7 +72,7 @@ } - @if (Model.SupervisorDelegateDetail.DlsRole == DlsRole.Learner && Model.IsUserSupervisor) + @if (Model.SupervisorDelegateDetail.DlsRole == DlsRole.Learner && Model.IsUserSupervisor && Model.SupervisorDelegateDetail.CandidateID != null) {