Add post-exam display options to CaseCollection model and update template
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user