summaryrefslogtreecommitdiff
path: root/app/Template/project_layout.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
commit90e06162999c8ec7fa9bcfa391800f7907419d9b (patch)
treef0f8d4a760f25c4f7773e0a1851031db6b08b9f2 /app/Template/project_layout.php
parent180efb962c6fc4da47ed39e60db137d63ffaad5b (diff)
Rename Locales and Templates folders to be more consistent
Diffstat (limited to 'app/Template/project_layout.php')
-rw-r--r--app/Template/project_layout.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Template/project_layout.php b/app/Template/project_layout.php
new file mode 100644
index 00000000..d69bbd53
--- /dev/null
+++ b/app/Template/project_layout.php
@@ -0,0 +1,17 @@
+<section id="main">
+ <div class="page-header">
+ <h2><?= t('Project "%s"', $project['name']) ?> (#<?= $project['id'] ?>)</h2>
+ <ul>
+ <li><?= Helper\a(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?></li>
+ <li><?= Helper\a(t('All projects'), 'project', 'index') ?></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