From 151832cd805b85bea57cbf888491e081607eb040 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 12 Apr 2021 15:50:44 -0700 Subject: web: improve access button HTML --- python/fatcat_web/templates/file_view.html | 3 +-- python/fatcat_web/templates/release_view.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/python/fatcat_web/templates/file_view.html b/python/fatcat_web/templates/file_view.html index 0f5a5fc6..8ed7b084 100644 --- a/python/fatcat_web/templates/file_view.html +++ b/python/fatcat_web/templates/file_view.html @@ -55,9 +55,8 @@ No known archives or mirrors of this file. No Public URL {% endif %} -
-
+
{% if file.size != None %} Size  {{ file.size|filesizeformat }}
{% endif %} diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html index 898cd369..cc7bfc1b 100644 --- a/python/fatcat_web/templates/release_view.html +++ b/python/fatcat_web/templates/release_view.html @@ -203,7 +203,7 @@ accessible version.
{% if entity.state == 'active' and entity._es and entity._es.ia_pdf_url %} - + Read Archived PDF {% elif entity.state == 'active' and entity.webcaptures != [] and entity.webcaptures[0].archive_urls != [] and entity.webcaptures[0].archive_urls[0].rel == "wayback" %} -- cgit v1.2.3