From d82b65e7d1187b4c3e14c4f693fc2e5c3abc3869 Mon Sep 17 00:00:00 2001 From: Aidaho Date: Thu, 18 Jan 2024 17:05:07 +0300 Subject: [PATCH] v7.1.1.0 Changelog: https://roxy-wi.org/changelog#7.1.1 --- app/templates/history.html | 2 +- app/templates/include/no_sub.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 %}