Add post-exam display options to CaseCollection model and update template

This commit is contained in:
Ross
2026-04-13 14:07:54 +01:00
parent 90c8f0b60d
commit 5c50ee75da
4 changed files with 54 additions and 1 deletions
+12
View File
@@ -1293,6 +1293,18 @@ class CaseCollection(ExamOrCollectionGenericBase):
default=False, help_text="Show the case report (post exam)"
)
# New post-exam display options
show_case_link_post = models.BooleanField(
default=False, help_text="Show a link to the case (post exam)"
)
show_findings_post = models.BooleanField(
default=False, help_text="Show findings related to the case (post exam)"
)
show_displaysets_post = models.BooleanField(
default=False, help_text="Show display sets for the case (post exam)"
)
author = models.ManyToManyField(
settings.AUTH_USER_MODEL,
blank=True,