summaryrefslogtreecommitdiff
path: root/app/Templates/user_sidebar.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
commit90e06162999c8ec7fa9bcfa391800f7907419d9b (patch)
treef0f8d4a760f25c4f7773e0a1851031db6b08b9f2 /app/Templates/user_sidebar.php
parent180efb962c6fc4da47ed39e60db137d63ffaad5b (diff)
Rename Locales and Templates folders to be more consistent
Diffstat (limited to 'app/Templates/user_sidebar.php')
-rw-r--r--app/Templates/user_sidebar.php42
1 files changed, 0 insertions, 42 deletions
diff --git a/app/Templates/user_sidebar.php b/app/Templates/user_sidebar.php
deleted file mode 100644
index 9d8f8b46..00000000
--- a/app/Templates/user_sidebar.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="project-show-sidebar">
- <h2><?= t('Actions') ?></h2>
- <div class="user-show-actions">
- <ul>
- <li>
- <a href="?controller=user&amp;action=show&amp;user_id=<?= $user['id'] ?>"><?= t('Summary') ?></a>
- </li>
-
- <?php if (Helper\is_admin() || Helper\is_current_user($user['id'])): ?>
- <li>
- <a href="?controller=user&amp;action=edit&amp;user_id=<?= $user['id'] ?>"><?= t('Edit profile') ?></a>
- </li>
-
- <?php if ($user['is_ldap_user'] == 0): ?>
- <li>
- <a href="?controller=user&amp;action=password&amp;user_id=<?= $user['id'] ?>"><?= t('Change password') ?></a>
- </li>
- <?php endif ?>
-
- <li>
- <a href="?controller=user&amp;action=notifications&amp;user_id=<?= $user['id'] ?>"><?= t('Email notifications') ?></a>
- </li>
- <li>
- <a href="?controller=user&amp;action=external&amp;user_id=<?= $user['id'] ?>"><?= t('External accounts') ?></a>
- </li>
- <li>
- <a href="?controller=user&amp;action=last&amp;user_id=<?= $user['id'] ?>"><?= t('Last logins') ?></a>
- </li>
- <li>
- <a href="?controller=user&amp;action=sessions&amp;user_id=<?= $user['id'] ?>"><?= t('Persistent connections') ?></a>
- </li>
- <?php endif ?>
-
- <?php if (Helper\is_admin()): ?>
- <li>
- <a href="?controller=user&amp;action=remove&amp;user_id=<?= $user['id'] ?>"><?= t('Remove') ?></a>
- </li>
- <?php endif ?>
-
- </ul>
- </div>
-</div> \ No newline at end of file