Hide actions in other user's friendslist

This commit is contained in:
celestora 2022-07-29 10:58:22 +03:00 committed by GitHub
parent b21a428a2c
commit 80e9ec4ba7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@
{/block}
{block actions}
{if $x->getId() !== $thisUser->getId()}
{if ($x->getId() !== $thisUser->getId()) && ($thisUser->getId() === $user->getId())}
{var $subStatus = $x->getSubscriptionStatus($thisUser)}
{if $subStatus === 0}
<form action="/setSub/user" method="post" class="profile_link_form">