summaryrefslogtreecommitdiff
path: root/app/Template/user_view/show.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2017-11-23 15:18:47 -0800
committerFrédéric Guillot <fred@kanboard.net>2017-11-23 15:18:47 -0800
commitd1e3255800fb114b0665f80c02cbd6d6e78e8333 (patch)
tree1d158e5edbdd1c493dfd8cbdfb9a462a491e37ca /app/Template/user_view/show.php
parent20c8ae1047fb9450c29db2ea1d337443c05a8171 (diff)
Add new template hook: template:user:show:profile:info
Diffstat (limited to 'app/Template/user_view/show.php')
-rw-r--r--app/Template/user_view/show.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Template/user_view/show.php b/app/Template/user_view/show.php
index e57fd4cd..7f847f65 100644
--- a/app/Template/user_view/show.php
+++ b/app/Template/user_view/show.php
@@ -6,6 +6,7 @@
<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>
<li><?= t('Status:') ?> <strong><?= $user['is_active'] ? t('Active') : t('Inactive') ?></strong></li>
+ <?= $this->hook->render('template:user:show:profile:info', array('user' => $user)) ?>
</ul>
<div class="page-header">