From 382ef00f859f37f2e545e9c4c9c93c4c1744b2e3 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 11 Sep 2019 21:05:28 +1000 Subject: [PATCH] display time correctly --- templates/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/home.html b/templates/home.html index dc18b64..4ba5289 100644 --- a/templates/home.html +++ b/templates/home.html @@ -23,7 +23,7 @@
{% set handle_list = bot['handle'].split('@') %}
@{{ handle_list[1] }}@{{ handle_list[2] }}
-
{{ "Online" if bot['enabled'] else "Offline"}}, learning from {{ bot_users[bot['handle']] }} accounts.{% if bot['handle'] in next_posts %} Next post in {{ next_posts[bot['handle']] }} minutes.{% endif %}
+
{{ "Online" if bot['enabled'] else "Offline"}}, learning from {{ bot_users[bot['handle']] }} accounts.{% if bot['handle'] in next_posts %} Next post in {{ next_posts[bot['handle']][0] }} minutes.{% endif %}