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%} +
+ Description: {{case.history}} +
+{% endif %}
{% for series in series_list %} diff --git a/atlas/templates/atlas/collection_take_overview.html b/atlas/templates/atlas/collection_take_overview.html index 58b44c65..f98d93f6 100644 --- a/atlas/templates/atlas/collection_take_overview.html +++ b/atlas/templates/atlas/collection_take_overview.html @@ -6,7 +6,7 @@

Collection: {{collection.name}}

Questions

- {{answer_count}} out of {{collection_length}} questions answered. Click to go to question. + {{answer_count}} out of {{collection_length}} cases answered. Click to go to case.
{% for question, answer in question_answer_tuples %}