From 788d3749d46bc3713ac9ab588c38e7317f25895f Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 18 Jun 2018 20:04:49 -0400 Subject: [PATCH] Homepage now compatible with new stats --- templates/home.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/home.html b/templates/home.html index 9c9d084..9d99914 100644 --- a/templates/home.html +++ b/templates/home.html @@ -8,9 +8,9 @@

OD-Database

- {% if stats and stats["file_size"] %} -

{{ stats["file_count"] }} files totalling - ~{{ stats["file_size"] | filesizeformat }} from {{ stats["website_count"] }} website(s)

+ {% if stats and stats["total_size"] %} +

{{ stats["total_count"] }} files totalling + ~{{ stats["total_size"] | filesizeformat }} from {{ stats["website_count"] }} website(s)

{% endif %} {% if current_websites %}

Currently indexing {{ current_websites }}