diff --git a/atlas/templates/atlas/case_display_block.html b/atlas/templates/atlas/case_display_block.html index 2900e74e..0654b2c2 100755 --- a/atlas/templates/atlas/case_display_block.html +++ b/atlas/templates/atlas/case_display_block.html @@ -1,22 +1,22 @@ {% load partials %} {% partialdef case-series %} - {% for series in case.series.all %} - - - Series {{ forloop.counter }}:
- - {{series.get_block}} - -
- - - Popup - + {% for series in case.series.all %} + + + Series {{ forloop.counter }}:
+ + {{series.get_block}} + +
+ + + Popup
- {% endfor %} +
+ {% endfor %} {% endpartialdef %}
@@ -25,86 +25,86 @@ {% endif %}
- + {% if case.cimar_uuid %} -
Details - Case uuid: {{case.cimar_uuid}} -
- - {% if cimar_sid %} - External - {% else %} - External - - {% endif %} - +
Details + Case uuid: {{case.cimar_uuid}} +
- + {% if cimar_sid %} + External + {% else %} + External - - - Viewer + {% endif %} -
- Study details - {{ case.get_cimar_case.get_pretty_study_details }} + + + + + Viewer + + +
+ Study details + {{ case.get_cimar_case.get_pretty_study_details }} +
+
+ Study schema + {{ case.get_cimar_case.get_pretty_study_schema }} +
+
+ Study series + +
+ Refresh +
-
- Study schema - {{ case.get_cimar_case.get_pretty_study_schema }} -
-
- Study series - -
- Refresh - -
- + {% else %} - View case in OHIF (new tab) + View case in OHIF (new tab) {% endif %} - +
{{ case.created_date|date:"d/m/Y" }} @@ -194,7 +194,7 @@
Findings - + {% if can_edit %}
Help @@ -202,23 +202,23 @@

To add a finding to a series, select the series and then click the "Add finding" button.

{% endif %} - + {% if case.series.all %} {% for series in case.series.all %} {% for finding in series.findings.all %}
- + {% if finding.findings.all %} @@ -282,10 +282,10 @@ Collections: {% if can_edit %} - + {% endif %}
    @@ -310,11 +310,11 @@

    Previous case: {{ case.previous_case.get_link }}

    -

    Next case: +

    Next case: {% if case.next_case %} - {{ case.next_case.get_link }} + {{ case.next_case.get_link }} {% else %} - Clone and add next case + Clone and add next case {% endif %}

    @@ -331,132 +331,128 @@

    Case size: {{ case.get_total_series_images_size | filesizeformat }}

    -
{% endif %} + {% with image_url_array_and_count=finding.series.get_image_url_array_and_count %}