This commit is contained in:
Ross
2021-08-11 19:02:02 +01:00
parent 807fb0b2ac
commit 2976c08b7c
+37 -16
View File
@@ -15,12 +15,12 @@
{{series.get_block}} {{series.get_block}}
</a> </a>
<a href="#" onclick="return window.create_popup_window('/longs/series/{{series.pk}}', 'Series')" <a href="#"
>Popup</a> onclick="return window.create_popup_window('/longs/series/{{series.pk}}', 'Series')">Popup</a>
</span> </span>
</span> </span>
{% endfor %} {% endfor %}
<span><a href="{% url 'longs:long_series_id_create' pk=question.pk %}">Add new series</a><br/> <span><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>
@@ -29,15 +29,36 @@
<p><b>Scrapped:</b> {{ question.scrapped }} <a href="{% url 'longs:long_scrap' pk=question.pk %}">(toggle)</a> <p><b>Scrapped:</b> {{ question.scrapped }} <a href="{% url 'longs:long_scrap' pk=question.pk %}">(toggle)</a>
<div class="long-answer"> <div class="long-answer">
<p class="pre-whitespace"><b>Feedback:</b> <pre>{{ question.feedback }}</pre></p> <p class="pre-whitespace"><b>Feedback:</b>
<pre>{{ question.feedback }}</pre>
</p>
<details>
<summary>
<h3>Model answers</h3> <h3>Model answers</h3>
<p class="pre-whitespace"><b>Observations:</b> <pre>{{ question.model_observations }}</pre></p> </summary>
<p class="pre-whitespace"><b>Interpretation:</b> <pre>{{ question.model_interpretation }}</pre></p> <p class="pre-whitespace"><b>Observations:</b>
<p class="pre-whitespace"><b>Principle Diagnosis:</b> <pre>{{ question.model_principle_diagnosis }}</pre></p> <pre>{{ question.model_observations }}</pre>
<p class="pre-whitespace"><b>Differential Diagnosis:</b> <pre>{{ question.model_differential_diagnosis }}</pre></p> </p>
<p class="pre-whitespace"><b>Managment:</b> <pre>{{ question.model_management }}</pre></p> <p class="pre-whitespace"><b>Interpretation:</b>
<pre>{{ question.model_interpretation }}</pre>
</p>
<p class="pre-whitespace"><b>Principle Diagnosis:</b>
<pre>{{ question.model_principle_diagnosis }}</pre>
</p>
<p class="pre-whitespace"><b>Differential Diagnosis:</b>
<pre>{{ question.model_differential_diagnosis }}</pre>
</p>
<p class="pre-whitespace"><b>Managment:</b>
<pre>{{ question.model_management }}</pre>
</p>
</details>
<p class="pre-whitespace"><b>Mark Scheme:</b> <pre>{{ question.mark_scheme | safe}}</pre></p> <p class="pre-whitespace">
<details>
<summary><b>Mark Scheme:</b></summary>
<pre>{{ question.mark_scheme | safe}}</pre>
</details>
</p>
</div> </div>
</p> </p>
<div> <div>
@@ -45,7 +66,7 @@
<a href="{% url 'longs:exam_overview' pk=exam.pk %}">{{ exam.name }}</a>, <a href="{% url 'longs:exam_overview' pk=exam.pk %}">{{ exam.name }}</a>,
{% endfor %} {% endfor %}
</div> </div>
<div> <div>
Notes: Notes:
<ul> <ul>
{% for note in question.long_notes.all %} {% for note in question.long_notes.all %}
@@ -55,11 +76,11 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
<div> <div>
JSON creation time: {{question.json_creation_time}} ({{question.json_creation_time|date:"c"}}), JSON creation time: {{question.json_creation_time}} ({{question.json_creation_time|date:"c"}}),
JSON creation id: {{question.question_json_id}} JSON creation id: {{question.question_json_id}}
{% if question.recreate_json %}[JSON out of date]{% endif %} {% if question.recreate_json %}[JSON out of date]{% endif %}
</div> </div>
<a href="{% url 'longs:question_json' pk=question.pk %}">JSON</a> <a href="{% url 'longs:question_json' pk=question.pk %}">JSON</a>
<a href="{% url 'longs:question_json_recreate' pk=question.pk %}">Refresh JSON cache</a> <a href="{% url 'longs:question_json_recreate' pk=question.pk %}">Refresh JSON cache</a>