From b6d79ead3c0a8d6617628c9e9a4db9d7c081e04c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 31 Jul 2019 14:32:38 -0700 Subject: add kbart counts to container stats --- python/fatcat_web/templates/container_view.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'python/fatcat_web/templates') diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html index f945a91a..182589c7 100644 --- a/python/fatcat_web/templates/container_view.html +++ b/python/fatcat_web/templates/container_view.html @@ -66,9 +66,12 @@ Release Counts
{{ "{:,}".format(container._stats.total) }} total {% if container._stats.total >= 1 %} +
{{ "{:,}".format(container._stats.in_kbart ) }} + ({{ "{:.1f}".format(container._stats.in_kbart/container._stats.total*100) }}%) + preserved (dark)
{{ "{:,}".format(container._stats.is_preserved) }} ({{ "{:.1f}".format(container._stats.is_preserved/container._stats.total*100) }}%) - preserved or archived + preserved or available
{{ "{:,}".format(container._stats.in_web) }} ({{ "{:.1f}".format(container._stats.in_web/container._stats.total*100) }}%) fulltext available to read -- cgit v1.2.3