.
This commit is contained in:
@@ -15,8 +15,8 @@
|
|||||||
class="help-text">[When checked the exam will be available to take in the test system]</span>
|
class="help-text">[When checked the exam will be available to take in the test system]</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="parent-help" title="Click to enable / disable the exam results">
|
<div class="parent-help" title="Click to enable / disable the exam results">
|
||||||
Publish results: <input type="checkbox" id="exam-publish-results-switch"
|
Publish results: <input type="checkbox" id="exam-publish-results-switch" {% if exam.publish_results %}checked{%
|
||||||
{% if exam.publish_results %}checked{% endif %}> <span class="help-text">[When checked the exam results will
|
endif %}> <span class="help-text">[When checked the exam results will
|
||||||
be available on this site]</span>
|
be available on this site]</span>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -26,18 +26,12 @@
|
|||||||
{% for question in questions.all %}
|
{% for question in questions.all %}
|
||||||
|
|
||||||
<li data-question_pk={{question.pk}}>
|
<li data-question_pk={{question.pk}}>
|
||||||
|
<span>
|
||||||
Description: {{ question.description}}
|
Description: {{ question.description}}
|
||||||
<br />
|
<br />
|
||||||
History: {{ question.history}}
|
History: {{ question.history}}
|
||||||
<br />
|
<br />
|
||||||
{% for series in question.series.all %}
|
{% for series in question.series.all %}
|
||||||
<div class="series-block">
|
|
||||||
Series {{forloop.counter }}:<br />
|
|
||||||
{{series.get_block}}
|
|
||||||
</div>
|
|
||||||
{% empty %}
|
|
||||||
No series
|
|
||||||
{% endfor %}
|
|
||||||
<div>
|
<div>
|
||||||
Author(s): {{question.get_authors}}
|
Author(s): {{question.get_authors}}
|
||||||
</div>
|
</div>
|
||||||
@@ -46,6 +40,14 @@
|
|||||||
title="View the question">View</a> / <a href="{% url 'longs:long_update' question.id %}"
|
title="View the question">View</a> / <a href="{% url 'longs:long_update' question.id %}"
|
||||||
title="Edit the question">Edit</a>
|
title="Edit the question">Edit</a>
|
||||||
</div>
|
</div>
|
||||||
|
</span>
|
||||||
|
<div class="series-block">
|
||||||
|
Series {{forloop.counter }}:<br />
|
||||||
|
{{series.get_block}}
|
||||||
|
</div>
|
||||||
|
{% empty %}
|
||||||
|
No series
|
||||||
|
{% endfor %}
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
|
|||||||
Reference in New Issue
Block a user