diff --git a/atlas/models.py b/atlas/models.py
index ce53544c..3c0b146c 100644
--- a/atlas/models.py
+++ b/atlas/models.py
@@ -502,54 +502,6 @@ class CaseCollection(ExamCollectionGenericBase):
def __str__(self) -> str:
return self.name
- def get_author_objects(self):
- """Returns a comma seperated text list of authors"""
- authors = [i for i in self.author.all()]
- return authors
-
- def check_cid_user(self, cid, passcode, request=None):
- if request is not None and request.user.is_superuser:
- return True
-
- if self.valid_cid_users.exists():
- user = self.valid_cid_users.filter(cid=cid).first()
-
- if not user or user.passcode != passcode:
- return False
-
- return True
-
- def get_or_create_cid_user_exam(self, cid_user, start_time=None):
- content_type = ContentType.objects.get_for_model(self)
- c = CidUserExam.objects.filter(
- content_type=content_type, object_id=self.pk, cid_user=cid_user
- ).first()
- if c:
- return c
-
- if start_time is None:
- start_time = timezone.now()
- new = CidUserExam(
- content_type=content_type,
- object_id=self.pk,
- cid_user=cid_user,
- start_time=start_time,
- )
- new.save()
- return new
-
- def get_cid_user_exams(self, cid_user=None):
- content_type = ContentType.objects.get_for_model(self)
- if cid_user is None:
- return CidUserExam.objects.filter(
- content_type=content_type,
- object_id=self.pk,
- )
- else:
- return CidUserExam.objects.filter(
- content_type=content_type, object_id=self.pk, cid_user=cid_user
- )
-
class CaseDetail(models.Model):
case = models.ForeignKey(Case, on_delete=models.CASCADE)
diff --git a/atlas/templates/atlas/case_display_block.html b/atlas/templates/atlas/case_display_block.html
index 16f86495..5f009bfe 100755
--- a/atlas/templates/atlas/case_display_block.html
+++ b/atlas/templates/atlas/case_display_block.html
@@ -28,13 +28,15 @@
{% for series in case.series.all %}
- Series {{ forloop.counter }}:
+ Series {{ forloop.counter }}:
{{series.get_block}}
-
+
+ Popup
+
{% endfor %}
diff --git a/atlas/templates/atlas/series_viewer.html b/atlas/templates/atlas/series_viewer.html
index a6146afe..61aafaf8 100755
--- a/atlas/templates/atlas/series_viewer.html
+++ b/atlas/templates/atlas/series_viewer.html
@@ -39,7 +39,7 @@
{% for finding in series.findings.all %}
+ data-viewportjson={{finding.viewport_json}} data-findingid={{finding.id}}>Click to view
Finding(s): {% for f in finding.findings.all %}{{f.get_link}}{% endfor %}
Structure(s): {% for s in finding.structures.all %}{{s.get_link}}{% endfor %}
@@ -58,18 +58,24 @@
Image info