summaryrefslogtreecommitdiff
path: root/app/Template/analytic/layout.php
diff options
context:
space:
mode:
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