<b><?= Yii::t('bot', 'Group') ?>: <?= $chat->title ?><?= $chat->username ? ' (@' . $chat->username . ')' : '' ?></b><br/>
<?php if ($membershipTag = $chatMember->getMembershipTag()) : ?>
<br/>
<b><?= Yii::t('bot', 'Member status') ?>:</b> <?= $membershipTag ?><br/>
<?php endif; ?>
<br/>
<b><?= Yii::t('bot', 'Telegram') ?> ID</b>: #<?= $user->getIdFullLink() ?><?= ($user->provider_user_name ? ' @' . $user->provider_user_name : '') ?><br/>
<?php if ($user->provider_user_first_name) : ?>
<b><?= Yii::t('bot', 'First Name') ?></b>: <?= $user->provider_user_first_name ?><br/>
<?php endif; ?>
<?php if ($user->provider_user_last_name) : ?>
<b><?= Yii::t('bot', 'Last Name') ?></b>: <?= $user->provider_user_last_name ?><br/>
<?php endif; ?>
<?php if ($globalUser = $user->globalUser) : ?>
<br/>
<b>OSW ID</b>: #<?= $globalUser->getIdFullLink() ?><?= ($globalUser->username ? ' @' . $globalUser->username : '') ?><br/>
<b><?= Yii::t('user', 'Rank') ?></b>: <?= $globalUser->getRank() ?><br/>
<?php endif; ?>
<?php if ($review && $review->text) : ?>
————<br/>
<b><?= Yii::t('bot', 'Review') ?></b>: <?= $review->getStatusLabel() ?><br/>
<br/>
<?= nl2br($review->text) ?><br/>
————<br/>
<b><?= Yii::t('bot', 'Author') ?></b>:<br/>
<br/>
<b><?= Yii::t('bot', 'Telegram') ?> ID</b>: #<?= $authorUser->getIdFullLink() ?><?= ($authorUser->provider_user_name ? ' @' . $authorUser->provider_user_name : '') ?><br/>
<?php if ($authorUser->provider_user_first_name) : ?>
<b><?= Yii::t('bot', 'First Name') ?></b>: <?= $authorUser->provider_user_first_name ?><br/>
<?php endif; ?>
<?php if ($authorUser->provider_user_last_name) : ?>
<b><?= Yii::t('bot', 'Last Name') ?></b>: <?= $authorUser->provider_user_last_name ?><br/>
<?php endif; ?>
<?php if ($globalAuthorUser = $authorUser->globalUser) : ?>
<br/>
<b>OSW ID</b>: #<?= $globalAuthorUser->getIdFullLink() ?><?= ($globalAuthorUser->username ? ' @' . $globalAuthorUser->username : '') ?><br/>
<b><?= Yii::t('user', 'Rank') ?></b>: <?= $globalAuthorUser->getRank() ?><br/>
<?php endif; ?>
<?php endif; ?>
