{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} {block actions} {/block} {* BEGIN ELEMENTS DESCRIPTION *} {block tabs} {if $club->canBeModifiedBy($thisUser)}
{/if} {/block} {block link|strip|stripHtml} /id{$x instanceof $Manager ? $x->getUserId() : $x->getId()} {/block} {block preview} {/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} |
{_actions}: | {if $manager} {_devote} {else} {_promote_to_admin} {/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} |