diff options
Diffstat (limited to 'ctrack/caf')
-rw-r--r-- | ctrack/caf/models.py | 4 | ||||
-rw-r--r-- | ctrack/caf/templates/caf/applicablesystem_list.html | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py index c290ee3..637ef92 100644 --- a/ctrack/caf/models.py +++ b/ctrack/caf/models.py @@ -75,5 +75,5 @@ class CAF(models.Model): def __str__(self): # Get the organisation and applicable system - org = ApplicableSystem.objects.filter(caf=self).first() - return f"CAF | {org.name}" + ass = ApplicableSystem.objects.filter(caf=self).first() + return f"CAF | {ass.organisation.name}" diff --git a/ctrack/caf/templates/caf/applicablesystem_list.html b/ctrack/caf/templates/caf/applicablesystem_list.html index caeee44..b1ba1a1 100644 --- a/ctrack/caf/templates/caf/applicablesystem_list.html +++ b/ctrack/caf/templates/caf/applicablesystem_list.html @@ -14,6 +14,7 @@ <tr> <th>Organisation</th> <th>System</th> + <th>CAF</th> <th>Sub Mode</th> <th class="tabaligncenter">Confidence Grade</th> <th>Triage Review Date</th> @@ -24,6 +25,7 @@ <tr> <td>{{ sys.organisation.name }}</td> <td>{{ sys.name }}</td> + <td>{{ sys.caf }}</td> <td>{{ sys.organisation.submode.descriptor }}</td> <td class="tabaligncenter">{{ sys.caf.confidence_grading.descriptor }}</td> <td>{{ sys.caf.triage_review_date }}</td> |