diff --git a/app/templates/ajax/load_telegram.html b/app/templates/ajax/load_telegram.html index 35067750..0a4ef85c 100644 --- a/app/templates/ajax/load_telegram.html +++ b/app/templates/ajax/load_telegram.html @@ -1,5 +1,5 @@ {% from 'include/input_macros.html' import input, select %} -{% if user_status == 0 or user_plan == 'user' %} +{% if user_status == 0 %} {% include 'include/no_sub.html' %} {% else %} {% for s in services %} diff --git a/app/templates/portscanner.html b/app/templates/portscanner.html index 0122ba12..01efe56a 100644 --- a/app/templates/portscanner.html +++ b/app/templates/portscanner.html @@ -25,7 +25,7 @@ padding-top: 5px !important; } -{% if user_status == 0 or user_plan == 'user' %} +{% if user_status == 0 %} {% include 'include/no_sub.html' %} {% else %} {% if history %} diff --git a/app/templates/smon.html b/app/templates/smon.html index 2617554d..0f7bbd31 100644 --- a/app/templates/smon.html +++ b/app/templates/smon.html @@ -5,7 +5,7 @@ -{% if user_status == 0 or user_plan == 'user' %} +{% if user_status == 0 %} {% include 'include/no_sub.html' %} {% elif smon_error != '' %}