summaryrefslogtreecommitdiff
path: root/app/Templates/user_show.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-02 23:41:12 -0800
committerFrédéric Guillot <fred@kanboard.net>2014-09-02 23:41:12 -0800
commitd68ff648b1995c14506d4c61c9d97dc7f599496f (patch)
tree82a2879ee26a4edd30adf8b9fd7b777e17068c23 /app/Templates/user_show.php
parent7bb09c3f9b3440cf297104f32e80050601d61533 (diff)
Refactoring of user management (ui)
Diffstat (limited to 'app/Templates/user_show.php')
-rw-r--r--app/Templates/user_show.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Templates/user_show.php b/app/Templates/user_show.php
new file mode 100644
index 00000000..5d42d3cf
--- /dev/null
+++ b/app/Templates/user_show.php
@@ -0,0 +1,12 @@
+<div class="page-header">
+ <h2><?= t('Summary') ?></h2>
+</div>
+<ul class="settings">
+ <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>