From 13f8cf1b166b83dbeea8f2be2833398a26fa4865 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 8 Mar 2021 16:20:02 -0800 Subject: web: fixes to file view w/ no access link --- python/fatcat_web/templates/file_view.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/fatcat_web/templates/file_view.html b/python/fatcat_web/templates/file_view.html index 608a2a0a..0f5a5fc6 100644 --- a/python/fatcat_web/templates/file_view.html +++ b/python/fatcat_web/templates/file_view.html @@ -49,8 +49,11 @@ No known archives or mirrors of this file. View Archived File -{% else %} - No Public URL +{% elif file.state and file.state == "active" %} + + + No Public URL + {% endif %}
-- cgit v1.2.3