.
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
Description: {{case.description}}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if collection.show_history and case.history%}
|
||||
<div>
|
||||
Description: {{case.history}}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="pre-whitespace multi-image-block">
|
||||
{% for series in series_list %}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<h2>Collection: {{collection.name}}</h2>
|
||||
|
||||
<div><p>Questions</p></div>
|
||||
{{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.
|
||||
<div class="sba-finish-list">
|
||||
{% for question, answer in question_answer_tuples %}
|
||||
<a href="{% url 'atlas:collection_case_view_take' pk=collection.id case_number=forloop.counter0 cid=cid passcode=passcode %}"><button {% if not answer %}class="unanswered"{% endif %}>{{forloop.counter}}: {{answer.answer}}</button></a>
|
||||
|
||||
Reference in New Issue
Block a user