From 232aec63bec906cfd841cbc59a3e92ee6f65215d Mon Sep 17 00:00:00 2001 From: Daniel Manta Date: Thu, 24 Mar 2022 14:31:56 +0000 Subject: [PATCH] DLSV2-502 Make competency descriptions visible on the supervisor verification view --- .../Supervisor/ReviewSelfAssessment.cshtml | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/DigitalLearningSolutions.Web/Views/Supervisor/ReviewSelfAssessment.cshtml b/DigitalLearningSolutions.Web/Views/Supervisor/ReviewSelfAssessment.cshtml index f9aeb2c431..5b822ed6f3 100644 --- a/DigitalLearningSolutions.Web/Views/Supervisor/ReviewSelfAssessment.cshtml +++ b/DigitalLearningSolutions.Web/Views/Supervisor/ReviewSelfAssessment.cshtml @@ -96,7 +96,34 @@ { - @competency.Vocabulary @competency.Name + @competency.Vocabulary + @if (competency.Description != null && !competency.AlwaysShowDescription) + { +
+ +

+ + @competency.Name + +

+
+
+ @(Html.Raw(@competency.Description)) +
+
+ } + else + { +

+ @competency.Name +

+ @if (competency.Description != null) + { +

+ @(Html.Raw(competency.Description)) +

+ } + }