This commit is contained in:
Ross
2021-08-31 20:17:22 +01:00
parent 142e2da285
commit 713f2e01fe
3 changed files with 55 additions and 33 deletions
@@ -20,7 +20,7 @@
</span> </span>
</span> </span>
{% endfor %} {% endfor %}
<span><a href="{% url 'longs:long_series_id_create' pk=question.pk %}">Add new series</a><br /> <a href="{% url 'longs:long_series_id_create' pk=question.pk %}">Add new series</a><br />
</div> </div>
<p><b>Author(s):</b> {% for author in question.author.all %} <a <p><b>Author(s):</b> {% for author in question.author.all %} <a
href="{% url 'longs:author_detail' pk=author.pk %}">{{author}}</a>, {% endfor %}</p> href="{% url 'longs:author_detail' pk=author.pk %}">{{author}}</a>, {% endfor %}</p>
+1 -1
View File
@@ -11,7 +11,7 @@
{% if not unmarked_count %} {% if not unmarked_count %}
<div class="alert alert-info" role="alert">No answers to mark.</div> <div class="alert alert-info" role="alert">No answers to mark.</div>
{% else %} {% else %}
<div class="alert alert-warning" role="alert">{{unmarked_count}} question(s) to mark.</div> <div class="alert alert-warning" role="alert">{{unmarked_count}} answer(s) to mark.</div>
{% endif %} {% endif %}
Answers: Answers:
+23 -1
View File
@@ -14,9 +14,31 @@
<div> <div>
<details open title="click to view/hide the mark scheme"> <details open title="click to view/hide the mark scheme">
<summary>Mark Scheme</summary> <summary>Mark Scheme</summary>
{{ question.mark_scheme | safe}} <p class="pre-whitespace"><b>Description:</b> {{ question.description }}</p>
<p class="pre-whitespace"><b>History:</b> {{ question.history }}</p>
<div class="pre-whitespace multi-image-block"><b>Series:</b>
{% for series in question.series.all %}
<span class="series-block">
<span>
Series {{ forloop.counter }}:
<a href="{% url 'longs:long_series_detail' pk=series.pk %}">
{{series.get_block}}
</a>
<a href="#"
onclick="return window.create_popup_window('/longs/series/{{series.pk}}', 'Series')">Popup</a>
</span>
</span>
{% endfor %}
</div>
</details> </details>
</div> </div>
<details closed title="click to view/hide the question details">
<summary>Question Details</summary>
{{ question.mark_scheme | safe}}
</details>
<details open title="click to view/hide user answers"> <details open title="click to view/hide user answers">
<summary>User answers</summary> <summary>User answers</summary>
<div> <div>