summaryrefslogtreecommitdiff
path: root/app/Template/user/profile.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-26 18:33:07 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-26 18:33:07 -0400
commite45c19782c0a409713584471bac0e37dca7f410a (patch)
treecd22c84f5e1da7e10095e0d67cf76dac599ca57a /app/Template/user/profile.php
parent5ec2647b18eaab47079954a168a0c2d7c6768d65 (diff)
Show avatar on public user profile
Diffstat (limited to 'app/Template/user/profile.php')
-rw-r--r--app/Template/user/profile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Template/user/profile.php b/app/Template/user/profile.php
index 80a633e3..9c9d3282 100644
--- a/app/Template/user/profile.php
+++ b/app/Template/user/profile.php
@@ -1,5 +1,6 @@
<section id="main">
<br>
+ <?= $this->avatar->render($user['id'], $user['username'], $user['name'], $user['email'], $user['avatar_path']) ?>
<ul class="listing">
<li><?= t('Username:') ?> <strong><?= $this->text->e($user['username']) ?></strong></li>
<li><?= t('Name:') ?> <strong><?= $this->text->e($user['name']) ?: t('None') ?></strong></li>