From f767a344c1ed7722b79710c6f3c61d5802f78860 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 17 May 2021 21:04:29 -0700 Subject: iterate on PDF redirect links --- fatcat_scholar/templates/work.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fatcat_scholar/templates') diff --git a/fatcat_scholar/templates/work.html b/fatcat_scholar/templates/work.html index 611576b..67c87e0 100644 --- a/fatcat_scholar/templates/work.html +++ b/fatcat_scholar/templates/work.html @@ -30,10 +30,10 @@ {% if work.biblio.doi %} {% endif %} -{% if work.fulltext.access_url and work.biblio.release_ident == work.fulltext.release_ident and work.fulltext.access_type in ['wayback', 'ia_file'] and work.fulltext.file_mimetype == "application/pdf" and work.fulltext.file_sha1 %} - - - +{% if work.fulltext.access_url and work.biblio.release_ident == work.fulltext.release_ident and work.fulltext.access_type in ['wayback', 'ia_file'] and work.fulltext.file_mimetype in ["application/pdf", None] and work.fulltext.file_sha1 %} + + + {% endif %} {% endblock %} -- cgit v1.2.3