try to add priors to ohif

This commit is contained in:
Ross
2024-07-17 22:18:43 +01:00
parent fbdc7c87b4
commit 9fe8c843ff
4 changed files with 35 additions and 5 deletions
@@ -46,14 +46,14 @@
{% if collection.show_ohif_viewer %}
<div>
<iframe id="viewer" style="width: 100%; height: 100%; border: none; padding: 0px;" src="/ohif/viewer/dicomjson?url=https://www.penracourses.org.uk{% url 'atlas:case_dicom_json' case.pk %}"></iframe>
<iframe id="viewer" style="width: 100%; height: 100%; border: none; padding: 0px;" src="/ohif/viewer/dicomjson?url=https://www.penracourses.org.uk{% url 'atlas:collection_case_dicom_json' collection.pk case.pk %}"></iframe>
</div>
{% endif %}
{% if collection.show_ohif_viewer_link %}
<div>
<a target="_blank" href="/ohif/viewer/dicomjson?url=https://www.penracourses.org.uk{% url 'atlas:case_dicom_json' case.pk %}">View case in OHIF</a>
<a target="_blank" href="/ohif/viewer/dicomjson?url=https://www.penracourses.org.uk{% url 'atlas:collection_case_dicom_json' collection.pk case.pk %}">View case in OHIF</a>
</div>
{% endif %}