diff --git a/templates/home.html b/templates/home.html index 30ec905..68486ef 100644 --- a/templates/home.html +++ b/templates/home.html @@ -19,11 +19,11 @@
{% for bot in bots %}
-
+
{% set handle_list = bot['handle'].split('@') %}
@{{ handle_list[1] }}@{{ handle_list[2] }}
-
{% if bot['enabled'] %}Online{% else %}Offline{% endif %}, learning from {{ bot_users[bot['handle']] }} accounts
+
{{ "Online" if bot['enabled'] else "Offline"}}, learning from {{ bot_users[bot['handle']] }} accounts