summaryrefslogtreecommitdiff
path: root/app/Template/task_layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_layout.php')
-rw-r--r--app/Template/task_layout.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Template/task_layout.php b/app/Template/task_layout.php
new file mode 100644
index 00000000..ca0a413f
--- /dev/null
+++ b/app/Template/task_layout.php
@@ -0,0 +1,16 @@
+<section id="main">
+ <div class="page-header">
+ <h2><?= Helper\escape($task['project_name']) ?> &gt; <?= t('Task #%d', $task['id']) ?></h2>
+ <ul>
+ <li><a href="?controller=board&amp;action=show&amp;project_id=<?= $task['project_id'] ?>"><?= t('Back to the board') ?></a></li>
+ </ul>
+ </div>
+ <section class="task-show" id="task-section">
+
+ <?= Helper\template('task_sidebar', array('task' => $task, 'hide_remove_menu' => isset($hide_remove_menu))) ?>
+
+ <div class="task-show-main">
+ <?= $task_content_for_layout ?>
+ </div>
+ </section>
+</section> \ No newline at end of file