diff --git a/app/templates/history.html b/app/templates/history.html index 7dfc1b16..8a9cef46 100644 --- a/app/templates/history.html +++ b/app/templates/history.html @@ -33,7 +33,7 @@ {% for h in history %} - {{h.service[0].upper()}}{{h.service[1:]}} + {% if h.service is not none %} {{h.service[0].upper()}}{{h.service[1:]}}{% endif %} {% for u in users %} {% if u.user_id == h.user_id %} diff --git a/app/templates/include/admin_backup.html b/app/templates/include/admin_backup.html index 46f8fb91..a26cf546 100644 --- a/app/templates/include/admin_backup.html +++ b/app/templates/include/admin_backup.html @@ -1,4 +1,3 @@ -
{% if user_status == 0 or user_plan == 'user' %} {% include 'include/no_sub.html' %} {% else %} @@ -74,6 +73,4 @@
You can read the description of all parameters here
-
{% endif %} -