From 4ecc89a4e7df47eaaa33cc5c7fc08dac93fe5ba3 Mon Sep 17 00:00:00 2001 From: SBD Date: Wed, 29 Nov 2023 15:51:50 +0300 Subject: [PATCH] 0.8.417 --- templates/blocks/profile/b_profile.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/blocks/profile/b_profile.html b/templates/blocks/profile/b_profile.html index 930630c..417d688 100644 --- a/templates/blocks/profile/b_profile.html +++ b/templates/blocks/profile/b_profile.html @@ -15,8 +15,8 @@
{% translate "Текущая подписка:" %}
-
{{ user_subscribe.subscribe.name }}
-
{% translate "Перейти к подпискам" %}
+
{% if user_subscribe.subscribe.name %}{{ user_subscribe.subscribe.name }}{% else %}{% translate "Нет активных подписок" %}{% endif %}
+ {% if user_subscribe.subscribe.name %}
{% translate "Перейти к подпискам" %}
{% endif %}