aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/caf/templates/caf/caf_detail.html4
-rw-r--r--ctrack/caf/views.py3
2 files changed, 6 insertions, 1 deletions
diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html
index 0b9dee4..f485a33 100644
--- a/ctrack/caf/templates/caf/caf_detail.html
+++ b/ctrack/caf/templates/caf/caf_detail.html
@@ -24,6 +24,10 @@
<div class="table-responsive">
<table class="table">
<tr>
+ <td><strong>Organisation</strong></td>
+ <td><a href="{% url 'organisations:detail' object.pk %}">{{ organisation }}</a></td>
+ </tr>
+ <tr>
<td><strong>Quality Grading:</strong></td>
<td>{{ object.quality_grading }}</td>
</tr>
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py
index 153d49c..2ed969a 100644
--- a/ctrack/caf/views.py
+++ b/ctrack/caf/views.py
@@ -38,7 +38,8 @@ def caf_detail_view(request, pk):
_scrs.append(lst_scores)
context = {
'object': caf,
- 'assessments_and_scores': _scrs
+ 'assessments_and_scores': _scrs,
+ 'organisation': ApplicableSystem.objects.filter(caf=caf).first().organisation
}
return render(request, 'caf/caf_detail.html', context)