diff --git a/atlas/models.py b/atlas/models.py index 2a818164..773c2320 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -585,6 +585,9 @@ class CaseCollection(models.Model): show_title = models.BooleanField( default=False, help_text="Show the title of the cases" ) + show_history = models.BooleanField( + default=False, help_text="Show the history of the cases" + ) show_description = models.BooleanField( default=False, help_text="Show the description of the cases" ) diff --git a/atlas/templates/atlas/collection_case_view.html b/atlas/templates/atlas/collection_case_view.html index df205a89..df128580 100644 --- a/atlas/templates/atlas/collection_case_view.html +++ b/atlas/templates/atlas/collection_case_view.html @@ -14,6 +14,11 @@ Description: {{case.description}} {% endif %} +{% if collection.show_history and case.history%} +
Questions