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 %}.