summaryrefslogtreecommitdiff
path: root/app/Template/app_index.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
commit37332ae2222706f8fb330dae780dc938512edcf5 (patch)
tree9161d539cc289179339162d6922c4d9dd2c30e63 /app/Template/app_index.php
parent8fe5df39d97ef851d11931fcf7e906ec08838ef7 (diff)
Change layout (experimental)
Diffstat (limited to 'app/Template/app_index.php')
-rw-r--r--app/Template/app_index.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/Template/app_index.php b/app/Template/app_index.php
index 91eecce4..d60638d0 100644
--- a/app/Template/app_index.php
+++ b/app/Template/app_index.php
@@ -1,6 +1,16 @@
<section id="main">
<div class="page-header">
- <h2><?= t('Dashboard') ?></h2>
+ <ul>
+ <?php if (Helper\is_admin()): ?>
+ <li><i class="fa fa-plus fa-fw"></i><?= Helper\a(t('New project'), 'project', 'create') ?></li>
+ <?php endif ?>
+ <li><i class="fa fa-lock fa-fw"></i><?= Helper\a(t('New private project'), 'project', 'create', array('private' => 1)) ?></li>
+ <li><i class="fa fa-folder fa-fw"></i><?= Helper\a(t('Project management'), 'project', 'index') ?></li>
+ <?php if (Helper\is_admin()): ?>
+ <li><i class="fa fa-user fa-fw"></i><?= Helper\a(t('User management'), 'user', 'index') ?></li>
+ <li><i class="fa fa-cog fa-fw"></i><?= Helper\a(t('Settings'), 'config', 'index') ?></li>
+ <?php endif ?>
+ </ul>
</div>
<section id="dashboard">
<div class="dashboard-left-column">