This commit is contained in:
Ross
2021-11-30 22:47:27 +00:00
parent 0e3b505adf
commit c15ec90eb2
2 changed files with 26 additions and 24 deletions
+25 -24
View File
@@ -32,24 +32,25 @@
<div class="atlas-answer">
<p class="pre-whitespace">
Condition:
<ul>
{% for con in case.condition.all %}
<li>{{con}}</li>
{% endfor %}
</ul>
Condition:
<ul>
{% for con in case.condition.all %}
<li>{{con}}</li>
{% endfor %}
</ul>
<details>
<summary><b>Findings</b></summary>
{% for series in case.series.all %}
{% for finding in series.findings.all %}
<div>
<button class="view-finding-button" data-annotationjson={{finding.annotation_json}} data-viewportjson={{finding.viewport_json}}>Click to view</button>
Findings: {{finding.findings.all|join:", "}}<br />
Description: {{finding.description}}<br />
</div>
See individual series for more details.<br/>
{% for series in case.series.all %}
{% for finding in series.findings.all %}
<div>
Findings: {{finding.findings.all|join:", "}}<br />
Structure: {{finding.structure}}<br />
Description: {{finding.description}}<br />
</div>
{% endfor %}
{% endfor %}
{% endfor %}
</details>
<details open>
<summary><b>Differentials</b></summary>
@@ -61,20 +62,20 @@
</details>
</p>
</div>
Subspecialty:
<ul>
{% for sub in case.subspecialty.all %}
<li>{{sub}}</li>
{% endfor %}
</ul>
Subspecialty:
<ul>
{% for sub in case.subspecialty.all %}
<li>{{sub}}</li>
{% endfor %}
</ul>
</p>
<div>
{% include 'question_notes.html' %}
</div>
<p><b>Checked by:</b> {% for verified in case.verified.all %} <a
href="{% url 'atlas:verified_detail' pk=verified.pk %}">{{verified}}</a>, {% endfor %}</p>>
<p><b>Checked by:</b> {% for verified in case.verified.all %} <a
href="{% url 'atlas:verified_detail' pk=verified.pk %}">{{verified}}</a>, {% endfor %}</p>>
<p><b>Author(s):</b> {% for author in case.author.all %} <a
href="{% url 'atlas:author_detail' pk=author.pk %}">{{author}}</a>, {% endfor %}</p>
<p><b>Author(s):</b> {% for author in case.author.all %} <a
href="{% url 'atlas:author_detail' pk=author.pk %}">{{author}}</a>, {% endfor %}</p>
+1
View File
@@ -24,6 +24,7 @@
<div>
<button class="view-finding-button" data-annotationjson={{finding.annotation_json}} data-viewportjson={{finding.viewport_json}}>Click to view</button>
Findings: {{finding.findings.all|join:", "}}<br />
Structure: {{finding.structure.all|join:", "}}<br />
Description: {{finding.description}}<br />
<a href="{% url 'atlas:delete_finding' pk=finding.pk %}">Delete finding</a>
</div>