diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-31 17:57:02 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-31 17:57:02 -0400 |
commit | 599b6624dde8cb1c1f6416ee0af530402089da4d (patch) | |
tree | 2cc995b09a4b2e67de276389fb28b0040d484296 /app/Template/project/layout.php | |
parent | 380aacd3f586089ae5c1e69841c0e0cb99478dcd (diff) |
Improve project navigation
Diffstat (limited to 'app/Template/project/layout.php')
-rw-r--r-- | app/Template/project/layout.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/app/Template/project/layout.php b/app/Template/project/layout.php index f5409500..7bb3d478 100644 --- a/app/Template/project/layout.php +++ b/app/Template/project/layout.php @@ -2,6 +2,16 @@ <div class="page-header"> <ul> <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> @@ -11,9 +21,9 @@ </li> </ul> </div> - <section class="sidebar-container" id="project-section"> + <section class="sidebar-container"> - <?= $this->render('project/sidebar', array('project' => $project)) ?> + <?= $this->render($sidebar_template, array('project' => $project)) ?> <div class="sidebar-content"> <?= $project_content_for_layout ?> |