From 41200d8b8f1f92d6cbbeb59496713d7611ca3de9 Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko Date: Tue, 9 Nov 2021 18:06:55 +0200 Subject: [PATCH] Correctly display the subscriber's role on the subscriber list page --- Web/Presenters/templates/Group/Followers.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Presenters/templates/Group/Followers.xml b/Web/Presenters/templates/Group/Followers.xml index 1b34c5e3..ead3368a 100644 --- a/Web/Presenters/templates/Group/Followers.xml +++ b/Web/Presenters/templates/Group/Followers.xml @@ -68,7 +68,7 @@ {_role}: - {$manager || $club->getOwner()->getId() == $user->getId() && !$club->isOwnerHidden() || $club->canBeModifiedBy($thisUser) ? tr("administrator") : tr("follower")} + {$club->getOwner()->getId() == $user->getId() ? !$club->isOwnerHidden() || $club->canBeModifiedBy($thisUser) : !is_null($manager) ? tr("administrator") : tr("follower")}