summaryrefslogtreecommitdiff
path: root/app/Template/analytic/layout.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-31 17:57:02 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-31 17:57:02 -0400
commit599b6624dde8cb1c1f6416ee0af530402089da4d (patch)
tree2cc995b09a4b2e67de276389fb28b0040d484296 /app/Template/analytic/layout.php
parent380aacd3f586089ae5c1e69841c0e0cb99478dcd (diff)
Improve project navigation
Diffstat (limited to 'app/Template/analytic/layout.php')
-rw-r--r--app/Template/analytic/layout.php21
1 files changed, 19 insertions, 2 deletions
diff --git a/app/Template/analytic/layout.php b/app/Template/analytic/layout.php
index c3a36bdf..de8d0de9 100644
--- a/app/Template/analytic/layout.php
+++ b/app/Template/analytic/layout.php
@@ -4,7 +4,24 @@
<section id="main">
<div class="page-header">
<ul>
- <li><i class="fa fa-table fa-fw"></i><?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?></li>
+ <li>
+ <span class="dropdown">
+ <span>
+ <i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Actions') ?></a>
+ <ul>
+ <?= $this->render('project/dropdown', array('project' => $project)) ?>
+ </ul>
+ </span>
+ </span>
+ </li>
+ <li>
+ <i class="fa fa-table fa-fw"></i>
+ <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?>
+ </li>
+ <li>
+ <i class="fa fa-folder fa-fw"></i>
+ <?= $this->url->link(t('All projects'), 'project', 'index') ?>
+ </li>
</ul>
</div>
<section class="sidebar-container" id="analytic-section">
@@ -12,7 +29,7 @@
<?= $this->render('analytic/sidebar', array('project' => $project)) ?>
<div class="sidebar-content">
- <?= $analytic_content_for_layout ?>
+ <?= $content_for_sublayout ?>
</div>
</section>
</section> \ No newline at end of file