From cbb90e870470bd57ff5d821f1f2ae852931be3f3 Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 20 Jan 2020 16:18:28 +1000 Subject: [PATCH] added missing endif --- app/templates/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/home.html b/app/templates/home.html index 077e830..89ae50b 100644 --- a/app/templates/home.html +++ b/app/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']][0] }} 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] }} minute{% if next_posts[bot['handle']][0] != 1 %}s{% endif %}{% endif %}.