diff --git a/Web/Presenters/templates/User/Friends.xml b/Web/Presenters/templates/User/Friends.xml index e6c9f50c..94a5f524 100644 --- a/Web/Presenters/templates/User/Friends.xml +++ b/Web/Presenters/templates/User/Friends.xml @@ -81,35 +81,37 @@ {/block} {block actions} - {var subStatus = $x->getSubscriptionStatus($thisUser)} - {if $subStatus === 0} -
- {elseif $subStatus === 1} - - {elseif $subStatus === 2} - - {elseif $subStatus === 3} - {_"send_message"} - + {if $x->getId() !== $thisUser->getId()} + {var subStatus = $x->getSubscriptionStatus($thisUser)} + {if $subStatus === 0} + + {elseif $subStatus === 1} + + {elseif $subStatus === 2} + + {elseif $subStatus === 3} + {_"send_message"} + + {/if} {/if} {/block} diff --git a/Web/Presenters/templates/User/Groups.xml b/Web/Presenters/templates/User/Groups.xml index 29ad35be..ad80222c 100644 --- a/Web/Presenters/templates/User/Groups.xml +++ b/Web/Presenters/templates/User/Groups.xml @@ -52,7 +52,7 @@ {/block} {var clubPinned = $thisUser->isClubPinned($x)} -{if $clubPinned || $thisUser->getPinnedClubCount() <= 10 || $x->canBeModifiedBy($thisUser ?? NULL)} +{if $x->canBeModifiedBy($thisUser ?? NULL) || $clubPinned || $thisUser->getPinnedClubCount() <= 10} {block actions} {if $clubPinned}