From dda6215bcbf968fe9db2b02f4cd4b4c0fd38103b Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 6 Dec 2021 19:22:12 +0000 Subject: [PATCH] . --- atlas/models.py | 3 +++ atlas/templates/atlas/finding_detail.html | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/atlas/models.py b/atlas/models.py index e97925ac..a6d6e69f 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -404,6 +404,9 @@ class Series(models.Model): ) return format_html('', thumbnail), len(images) + def get_thumbnail_link(self): + return format_html("{}", self.get_absolute_url(), self.get_thumbnail()) + def get_block(self): examination = self.get_examination_full() thumb, image_number = self.get_thumbnail() diff --git a/atlas/templates/atlas/finding_detail.html b/atlas/templates/atlas/finding_detail.html index 420f7d69..9ac77395 100755 --- a/atlas/templates/atlas/finding_detail.html +++ b/atlas/templates/atlas/finding_detail.html @@ -21,9 +21,9 @@

Associated Cases