Updates to clarify difference between username and name in profile page (fixes #2812)

This commit is contained in:
Mark Szymanski
2017-01-17 21:46:24 -06:00
parent 6a6069ee2f
commit d798a26666
27 changed files with 55 additions and 55 deletions

View File

@@ -3,9 +3,9 @@
<?= $this->avatar->render($user['id'], $user['username'], $user['name'], $user['email'], $user['avatar_path']) ?>
<div class="panel">
<ul>
<li><?= t('Username:') ?> <strong><?= $this->text->e($user['username']) ?></strong></li>
<li><?= t('Name:') ?> <strong><?= $this->text->e($user['name']) ?: t('None') ?></strong></li>
<li><?= t('Login:') ?> <strong><?= $this->text->e($user['username']) ?></strong></li>
<li><?= t('Full Name:') ?> <strong><?= $this->text->e($user['name']) ?: t('None') ?></strong></li>
<li><?= t('Email:') ?> <strong><?= $this->text->e($user['email']) ?: t('None') ?></strong></li>
</ul>
</div>
</section>
</section>