diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-09-23 10:40:28 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-09-23 15:50:24 +0100 |
commit | 5f477692e5b3a1c2209c0c17e5dc303ea81e7a32 (patch) | |
tree | 5312922c6f5ffb8847e41cfd650161c2548d28cd /ctrack/caf | |
parent | f57c0bea3ccc536b26a52f1f92c42828d654af67 (diff) |
Tidied up the CAF table on org detail page
removed edit links
fixed the damn row divs...
some improvements, some regressions in HTML layout
more changes
working on better presentation of CAF data on org detail page
Diffstat (limited to 'ctrack/caf')
-rw-r--r-- | ctrack/caf/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py index a7d0019..0027b23 100644 --- a/ctrack/caf/models.py +++ b/ctrack/caf/models.py @@ -157,6 +157,10 @@ class CAF(models.Model): def sub_mode(self): return self.organisation.submode + def get_assessments(self): + return self.cafassessment_set.all() + + def __str__(self): # Get the organisation and applicable system return f"CAF | {self.organisation.name}_v{self.version}" |