.
This commit is contained in:
+1
-1
@@ -309,7 +309,7 @@ class Rapid(models.Model):
|
||||
return ",".join(["https://www.penracourses.org.uk{}".format(i.url) for i in self.get_images()])
|
||||
|
||||
def get_image_url_array(self):
|
||||
return json.dumps(["testhttps://www.penracourses.org.uk{}".format(i.url) for i in self.get_images()])
|
||||
return json.dumps(["https://www.penracourses.org.uk{}".format(i.url) for i in self.get_images()])
|
||||
#def GetNonFeedbackQuestionImages(self):
|
||||
#return self.get_images()
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
<summary>
|
||||
Image viewer
|
||||
</summary>
|
||||
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ question.get_image_urls }}" data-annotations='{{question.get_image_annotations}}'>
|
||||
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ question.get_image_url_array }}" data-annotations='{{question.get_image_annotations}}'>
|
||||
</div>
|
||||
<button id="save-annotations">Save Annotations</button>
|
||||
</details>
|
||||
|
||||
Reference in New Issue
Block a user