diff --git a/atlas/templates/atlas/collection_case_view.html b/atlas/templates/atlas/collection_case_view.html index f69c318a..1f9f58cc 100644 --- a/atlas/templates/atlas/collection_case_view.html +++ b/atlas/templates/atlas/collection_case_view.html @@ -16,7 +16,7 @@ {% endif %} {% if collection.show_history and case.history%}
- Description: {{case.history}} + History: {{case.history}}
{% endif %} diff --git a/atlas/templates/atlas/series_form.html b/atlas/templates/atlas/series_form.html index 03b75bad..77f01c27 100755 --- a/atlas/templates/atlas/series_form.html +++ b/atlas/templates/atlas/series_form.html @@ -350,7 +350,7 @@ } if (not_anon) { - toastr.warning(`File does not appear to be annonymised
Accession: ${accession_number}
Patient ID: ${patient_id}
: ${accession_number}`, 'Anonymisation warning', { + toastr.warning(`File does not appear to be annonymised
Accession: ${accession_number}
Patient ID: ${patient_id}
`, 'Anonymisation warning', { "closeButton": false, "debug": false, "newestOnTop": false, @@ -369,27 +369,28 @@ }); } - $.ajax({ - url: `{% url 'generic:examination-autocomplete' %}/${encodeURI(study_description)}`, - //context: document.body, - success: function(data){ - console.log(data) - } - }); + // TODO: fix + //$.ajax({ + // url: `{% url 'generic:examination-autocomplete' %}/${encodeURI(study_description)}`, + // //context: document.body, + // success: function(data){ + // console.log(data) + // } + //}); - // try to match with a study description (if not already selected) - if ($(`#id_examination_to option`).length < 1) { - option = $(`#id_examination_from option[title*='${study_description}' i]`); + //// try to match with a study description (if not already selected) + //if ($(`#id_examination_to option`).length < 1) { + // option = $(`#id_examination_from option[title*='${study_description}' i]`); - if (option.length) { - option.appendTo($("#id_examination_to")); - toastr.success(`Examination set to ${option.attr('title')} from dicom data`); - } else { - toastr.warning( - `Unable to set examination ${study_description} from dicom data (it needs creating)`); + // if (option.length) { + // option.appendTo($("#id_examination_to")); + // toastr.success(`Examination set to ${option.attr('title')} from dicom data`); + // } else { + // toastr.warning( + // `Unable to set examination ${study_description} from dicom data (it needs creating)`); - } - } + // } + //} } catch (err) { console.log(err);