From 1b58c78fbc51de5ddfe8935f3e784d01a82c2bcb Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 6 Apr 2020 17:00:19 +0100 Subject: caf assessment scores now coloured on caf detail page --- ctrack/caf/templates/caf/caf_detail.html | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'ctrack/caf/templates') diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html index f485a33..398abf4 100644 --- a/ctrack/caf/templates/caf/caf_detail.html +++ b/ctrack/caf/templates/caf/caf_detail.html @@ -87,12 +87,34 @@ + + + + + + + {% for score in ass.1 %} - + + {% if score.assessment_score == "Achieved" %} + + {% elif score.assessment_score == "Partially Achieved" %} + + {% else %} + + {% endif %} + + {% if score.baseline_assessment_score == "Achieved" %} + + {% elif score.baseline_assessment_score == "Partially Achieved" %} + + {% else %} + + {% endif %} {% endfor %}
DesignationTitleOutcome descriptionAssessmentBaseline
{{ score.caf_contributing_outcome.designation }} {{ score.caf_contributing_outcome.name }} {{ score.caf_contributing_outcome.description }}{{ score.assessment_score }}{{ score.assessment_score }}{{ score.assessment_score }}{{ score.assessment_score }}{{ score.baseline_assessment_score }}{{ score.baseline_assessment_score }}{{ score.baseline_assessment_score }}
-- cgit v1.2.3