diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-08-30 14:08:46 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-08-30 14:08:46 -0800 |
commit | 9194a2604d79ef97994d01c35fb454f745b5412c (patch) | |
tree | 365dd4294e536c440610bee4f07a1bffb00d00eb /app/Templates/project_layout.php | |
parent | e1eba08398c6c6ece684f9db6dedb0dff5d43071 (diff) |
Projects management refactoring
Diffstat (limited to 'app/Templates/project_layout.php')
-rw-r--r-- | app/Templates/project_layout.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Templates/project_layout.php b/app/Templates/project_layout.php new file mode 100644 index 00000000..c8cc9236 --- /dev/null +++ b/app/Templates/project_layout.php @@ -0,0 +1,17 @@ +<section id="main"> + <div class="page-header"> + <h2><?= t('Project "%s"', $project['name']) ?></h2> + <ul> + <li><a href="?controller=board&action=show&project_id=<?= $project['id'] ?>"><?= t('Back to the board') ?></a></li> + <li><a href="?controller=project"><?= t('All projects') ?></a></li> + </ul> + </div> + <section class="project-show" id="project-section"> + + <?= Helper\template('project_sidebar', array('project' => $project)) ?> + + <div class="project-show-main"> + <?= $project_content_for_layout ?> + </div> + </section> +</section>
\ No newline at end of file |