From 969d5a2c913fcccce041d777f163bd8f995601b4 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 14 Jul 2019 18:50:47 -0700 Subject: add local links to search results --- python/fatcat_web/templates/release_search.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python/fatcat_web/templates/release_search.html') diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html index 59411c62..dcbfeb35 100644 --- a/python/fatcat_web/templates/release_search.html +++ b/python/fatcat_web/templates/release_search.html @@ -49,7 +49,11 @@ {% if paper.best_pdf_url %}
-   fulltext + {% if paper.ia_pdf_url and '://web.archive.org' in paper.ia_pdf_url %} +   local copy +
+ {% endif %} +         fulltext
{% endif %} {# -- cgit v1.2.3