.
This commit is contained in:
@@ -24,10 +24,10 @@ This series is not associated with any cases.
|
||||
<div class="finding-box">
|
||||
<button class="view-finding-button" data-annotationjson={{finding.annotation_json}}
|
||||
data-viewportjson={{finding.viewport_json}}>Click to view</button>
|
||||
<span class="view-finding-details">
|
||||
Finding(s): {{finding.findings.all|join:", "}}<br />
|
||||
Structure(s): {{finding.structure.all|join:", "}}<br />
|
||||
Description: {{finding.description}}<br />
|
||||
<span class="view-finding-details">
|
||||
Finding(s): {{finding.findings.all|join:", "}}<br />
|
||||
Structure(s): {{finding.structure.all|join:", "}}<br />
|
||||
Description: {{finding.description}}<br />
|
||||
</span>
|
||||
<a href="{% url 'atlas:delete_finding' pk=finding.pk %}" class="delete-finding-link">Delete finding</a>
|
||||
</div>
|
||||
@@ -63,11 +63,11 @@ This series is not associated with any cases.
|
||||
<form method="post" id="series_finding_form">
|
||||
{% csrf_token %}
|
||||
{{series_finding_form.management_form}}
|
||||
<ul>
|
||||
<li>Description: {{ series_finding_form.description }}</li>
|
||||
<li>Findings: {{ series_finding_form.findings }}</li>
|
||||
<li>Structures: {{ series_finding_form.structures }}</li>
|
||||
</ul>
|
||||
<div>
|
||||
<div>Description: {{ series_finding_form.description }}</div>
|
||||
<div>Findings: {{ series_finding_form.findings }}</div>
|
||||
<div>Structures: {{ series_finding_form.structures }}</div>
|
||||
</div>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
</div>
|
||||
@@ -124,7 +124,11 @@ This series is not associated with any cases.
|
||||
url: '{% url "atlas:add_finding" %}',
|
||||
data: {
|
||||
description: $('#id_description').val(),
|
||||
series: {{ series.pk }},
|
||||
series: {
|
||||
{
|
||||
series.pk
|
||||
}
|
||||
},
|
||||
//annotation_json: JSON.stringify(c.toolStateManager.saveToolState()),
|
||||
annotation_json: JSON.stringify(cornerstoneTools.globalImageIdSpecificToolStateManager
|
||||
.saveToolState()),
|
||||
|
||||
Reference in New Issue
Block a user