diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-07-31 14:32:38 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-07-31 14:32:38 -0700 |
commit | b6d79ead3c0a8d6617628c9e9a4db9d7c081e04c (patch) | |
tree | 80de47c89680811e97d77048eba426ee9dffab29 /python/fatcat_web/templates/container_view.html | |
parent | 721514726130d22ddb036c3da3a8e02e3d3ba65b (diff) | |
download | fatcat-b6d79ead3c0a8d6617628c9e9a4db9d7c081e04c.tar.gz fatcat-b6d79ead3c0a8d6617628c9e9a4db9d7c081e04c.zip |
add kbart counts to container stats
Diffstat (limited to 'python/fatcat_web/templates/container_view.html')
-rw-r--r-- | python/fatcat_web/templates/container_view.html | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ <b>Release Counts</b><br> {{ "{:,}".format(container._stats.total) }} total {% if container._stats.total >= 1 %} + <br>{{ "{:,}".format(container._stats.in_kbart ) }} + (<b>{{ "{:.1f}".format(container._stats.in_kbart/container._stats.total*100) }}%</b>) + preserved (dark) <br>{{ "{:,}".format(container._stats.is_preserved) }} (<b>{{ "{:.1f}".format(container._stats.is_preserved/container._stats.total*100) }}%</b>) - preserved or archived + preserved or available <br>{{ "{:,}".format(container._stats.in_web) }} (<b>{{ "{:.1f}".format(container._stats.in_web/container._stats.total*100) }}%</b>) fulltext available to read |