From 6bc1da348bc8be59f0817f963ddc6dac47e32f8d Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 4 Dec 2021 16:21:32 +0000 Subject: [PATCH] . --- atlas/templates/atlas/series_viewer.html | 74 +++++++++++-------- .../rapids/question_display_block.html | 2 +- 2 files changed, 43 insertions(+), 33 deletions(-) diff --git a/atlas/templates/atlas/series_viewer.html b/atlas/templates/atlas/series_viewer.html index 2b366040..3d4f2d4e 100755 --- a/atlas/templates/atlas/series_viewer.html +++ b/atlas/templates/atlas/series_viewer.html @@ -1,12 +1,12 @@
{{ series.modality}}, {{ series.examination }}, {{ series.plane }}, {{ series.contrast }}
{% if series.case %} - Associated case: - {% for case in series.case.all %} - {{case}} - {% endfor %} +Associated case: +{% for case in series.case.all %} +{{case}} +{% endfor %} {% else %} - This series is not associated with any cases. +This series is not associated with any cases. {% endif %}
@@ -21,13 +21,14 @@ Findings {% for finding in series.findings.all %} -
- - Finding(s): {{finding.findings.all|join:", "}}
- Structure(s): {{finding.structure.all|join:", "}}
- Description: {{finding.description}}
- Delete finding -
+
+ + Finding(s): {{finding.findings.all|join:", "}}
+ Structure(s): {{finding.structure.all|join:", "}}
+ Description: {{finding.description}}
+ Delete finding +
{% endfor %} @@ -47,8 +48,8 @@ title="orders dicom by uploaded filename">Order by uploaded filename
{% for image in series.images.all %} - {{image.image.url}}, pos: {{image.position}}, {{image.upload_filename}} [{{image.image.size|filesizeformat}}]
- {% comment %} {{image.get_dicom_info|safe}}
{% endcomment %} + {{image.image.url}}, pos: {{image.position}}, {{image.upload_filename}} [{{image.image.size|filesizeformat}}]
+ {% comment %} {{image.get_dicom_info|safe}}
{% endcomment %} {% endfor %} @@ -60,11 +61,11 @@
{% csrf_token %} {{series_finding_form.management_form}} - +
@@ -73,17 +74,17 @@ + \ No newline at end of file diff --git a/rapids/templates/rapids/question_display_block.html b/rapids/templates/rapids/question_display_block.html index b128b9fc..db3552f3 100755 --- a/rapids/templates/rapids/question_display_block.html +++ b/rapids/templates/rapids/question_display_block.html @@ -104,7 +104,7 @@ // send request to change the is_private state on customSwitches toggle $("#save-annotations").click(function () { - let el = $(".single-dicom-viewer").get(0); + let el = $(".cornerstone-element").get(0); let c = cornerstone.getEnabledElement(el);