This commit is contained in:
Ross
2021-05-03 19:21:38 +01:00
parent bb4e718938
commit 606475e1b7
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ class Rapid(models.Model):
help_text="If a question should be freely available to browse", default=True help_text="If a question should be freely available to browse", default=True
) )
question_note = GenericRelation(QuestionNote) anon_notes = GenericRelation(QuestionNote)
def get_absolute_url(self): def get_absolute_url(self):
@@ -43,6 +43,14 @@
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
Anon Notes:
<ul>
{% for note in question.anon_notes.all %}
<li>
{{ note.created_on }} by {{ note.author }}: {{ note.note }}
</li>
{% endfor %}
</ul>
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ question.GetImageUrls }}" data-annotations=''></div> <div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ question.GetImageUrls }}" data-annotations=''></div>
</div> </div>