diff --git a/app/templates/history.html b/app/templates/history.html index 122ae53d..19461364 100644 --- a/app/templates/history.html +++ b/app/templates/history.html @@ -3,7 +3,7 @@ {% block title %}{{ lang.menu_links.history.title }} {{ lang.words[service] }}{% endblock %} {% block h2 %}{{ lang.menu_links.history.title }} {{ lang.words[service] }}{% endblock %} {% block content %} -{% if user_status == 0 or user_plan == 'user' %} +{% if user_subscription['user_status'] == 0 or user_subscription['user_plan'] == 'user' %} {% include 'include/no_sub.html' %} {% else %} diff --git a/app/templates/include/no_sub.html b/app/templates/include/no_sub.html index e76417c2..75d1abda 100644 --- a/app/templates/include/no_sub.html +++ b/app/templates/include/no_sub.html @@ -11,12 +11,12 @@

- {% if user_status == 0 %} + {% if user_status['user_status'] == 0 %} You are not subscribed. Please subscribe to have access to this feature.

Read here about subscriptions

- {% elif user_plan == 'user' or user_plan != 'support' %} + {% elif user_status['user_plan'] == 'user' or user_status['user_plan'] != 'support' %} This feature is not available for your plan. To change the plan, follow this link {% endif %}