diff --git a/app/templates/list_communities.html b/app/templates/list_communities.html index 3095ed1c..fe034f9a 100644 --- a/app/templates/list_communities.html +++ b/app/templates/list_communities.html @@ -86,7 +86,11 @@ {% for community in communities.items -%} - + {% set content_blocked = (current_user.hide_nsfw == 3 and community.nsfw) + or (current_user.hide_nsfl == 3 and community.nsfl) -%} + {% set blur_content = (current_user.hide_nsfw == 2 and community.nsfw) + or (current_user.hide_nsfl == 2 and community.nsfl) -%} + {% if current_user.is_authenticated -%} {% if community_membership(current_user, community) in [SUBSCRIPTION_MEMBER, SUBSCRIPTION_MODERATOR, SUBSCRIPTION_OWNER] -%} {{ _('Leave') }}