From 4c20cea1553ba369e935d56bea2bbbb1a8485954 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 19 Mar 2019 19:32:08 -0700 Subject: if no fulltext file, try webcapture --- python/fatcat_web/templates/release_view.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/fatcat_web') diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html index ede99a79..9c7bcbf0 100644 --- a/python/fatcat_web/templates/release_view.html +++ b/python/fatcat_web/templates/release_view.html @@ -312,6 +312,8 @@ {% if entity.files != [] and entity.files[0].urls != [] %} Download Full Text +{% elif entity.webcaptures != [] and entity.webcaptures[0].archive_urls != [] and entity.webcaptures[0].archive_urls[0].rel == "wayback" %} +View Web Archive {% else %} No Full Text Available {% endif %} -- cgit v1.2.3