From 729784ecfff4c35bbf4e062c39ae8ef57c77a1da Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko Date: Fri, 23 Sep 2022 16:29:17 +0200 Subject: [PATCH] Groups: Display links not only for managed groups in My Groups Closes #664 --- Web/Presenters/templates/User/Groups.xml | 32 ++++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Web/Presenters/templates/User/Groups.xml b/Web/Presenters/templates/User/Groups.xml index 18c2e9d8..cc32b3d0 100644 --- a/Web/Presenters/templates/User/Groups.xml +++ b/Web/Presenters/templates/User/Groups.xml @@ -79,9 +79,9 @@ {/block} {block actions} + {_check_community} {if $x->canBeModifiedBy($thisUser ?? NULL)} {var $clubPinned = $thisUser->isClubPinned($x)} - {_check_community} {if $clubPinned} {_remove_from_left_menu} @@ -89,21 +89,21 @@ {_add_to_left_menu} {/if} - {if $x->getSubscriptionStatus($thisUser) == false} - - {else} - - {/if} + {/if} + {if $x->getSubscriptionStatus($thisUser) == false} + + {else} + {/if} {/block}