summaryrefslogtreecommitdiff
path: root/app/Template/user/show.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-04 21:04:33 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-04 21:04:33 -0500
commit6739dba792f210a1836489a191527747d21e3da4 (patch)
treeb93e9df07f130c719d37b63700b960f1728e6707 /app/Template/user/show.php
parent66e0028b4aad5b3bd2604efb34fe89693383aa86 (diff)
Move user templates to a subfolder
Diffstat (limited to 'app/Template/user/show.php')
-rw-r--r--app/Template/user/show.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Template/user/show.php b/app/Template/user/show.php
new file mode 100644
index 00000000..1c843751
--- /dev/null
+++ b/app/Template/user/show.php
@@ -0,0 +1,12 @@
+<div class="page-header">
+ <h2><?= t('Summary') ?></h2>
+</div>
+<ul class="listing">
+ <li><?= t('Username:') ?> <strong><?= Helper\escape($user['username']) ?></strong></li>
+ <li><?= t('Name:') ?> <strong><?= Helper\escape($user['name']) ?></strong></li>
+ <li><?= t('Email:') ?> <strong><?= Helper\escape($user['email']) ?></strong></li>
+ <li><?= t('Default project:') ?> <strong><?= (isset($user['default_project_id']) && isset($projects[$user['default_project_id']])) ? Helper\escape($projects[$user['default_project_id']]) : t('None'); ?></strong></li>
+ <li><?= t('Notifications:') ?> <strong><?= $user['notifications_enabled'] == 1 ? t('Enabled') : t('Disabled') ?></strong></li>
+ <li><?= t('Group:') ?> <strong><?= $user['is_admin'] ? t('Administrator') : t('Regular user') ?></strong></li>
+ <li><?= t('Account type:') ?> <strong><?= $user['is_ldap_user'] ? t('Remote') : t('Local') ?></strong></li>
+</ul>