{extends "../@listView.xml"} {var $Manager = openvk\Web\Models\Entities\Manager::class} {var $iterator = $onlyShowManagers ? $managers : $followers} {var $count = $paginatorConf->count} {var $page = $paginatorConf->page} {var $perPage = 6} {block title}{_followers} {$club->getCanonicalName()}{/block} {block header} {$club->getCanonicalName()} » {_followers} {_all_followers} {_only_administrators} {/block} {* BEGIN ELEMENTS DESCRIPTION *} {block tabs} {if $club->canBeModifiedBy($thisUser)}
{_main}
{_backdrop_short}
{_followers}
{_statistics}
{/if} {/block} {block link|strip|stripHtml} /id{$x instanceof $Manager ? $x->getUserId() : $x->getId()} {/block} {block preview} {$x instanceof $Manager ? $x->getUser()->getCanonicalName() : $x->getCanonicalName()} {/block} {block name} {$x instanceof $Manager ? $x->getUser()->getCanonicalName() : $x->getCanonicalName()} {/block} {block description} {var $user = $x instanceof $Manager ? $x->getUser() : $x} {var $manager = $x instanceof $Manager ? $x : $club->getManager($user, !$club->canBeModifiedBy($thisUser))}
{_gender}: {$user->isFemale() ? "женский" : "мужской"}
{_registration_date}: {$user->getRegistrationTime()}
{_role}: {$club->getOwner()->getId() == $user->getId() ? !$club->isOwnerHidden() || $club->canBeModifiedBy($thisUser) : !is_null($manager) ? tr("administrator") : tr("follower")}
{_comment}: {if $club->getOwner()->getId() === $user->getId()} {$club->getOwnerComment()} {else} {$manager->getComment()} {/if}
{/block} {block actions} {var $user = $x instanceof $Manager ? $x->getUser() : $x} {var $manager = $x instanceof $Manager ? $x : $club->getManager($user, !$club->canBeModifiedBy($thisUser))} {if $club->canBeModifiedBy($thisUser ?? NULL)} {if $manager} {_devote} {else} {_promote_to_admin} {/if} {if $club->getOwner()->getId() != $user->getId() && $manager && $thisUser->getId() == $club->getOwner()->getId()} {_promote_to_owner} {/if} {if $manager} {_set_comment} {/if} {_set_comment} {if $manager} {if $manager->isHidden()}{_hidden_yes}{else}{_hidden_no}{/if} {/if} {if $club->getOwner()->getId() == $user->getId()} {if $club->isOwnerHidden()}{_hidden_yes}{else}{_hidden_no}{/if} {/if} {/if} {/block}