diff options
| author | Frédéric Guillot <fred@kanboard.net> | 2014-05-17 18:26:17 -0400 |
|---|---|---|
| committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-17 18:26:17 -0400 |
| commit | f9c24f3c2c46eccd18e70704c0e8767fa6023206 (patch) | |
| tree | 0e26337e3910ef10a88a8093967748ce54bcc701 /templates/task_layout.php | |
| parent | 4d677b720e818f9d14585479699335ec41ed3541 (diff) | |
Add the possibility to remove a task
Diffstat (limited to 'templates/task_layout.php')
| -rw-r--r-- | templates/task_layout.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/task_layout.php b/templates/task_layout.php new file mode 100644 index 00000000..9a6bbd00 --- /dev/null +++ b/templates/task_layout.php @@ -0,0 +1,16 @@ +<section id="main"> + <div class="page-header"> + <h2><?= Helper\escape($task['project_name']) ?> > <?= t('Task #%d', $task['id']) ?></h2> + <ul> + <li><a href="?controller=board&action=show&project_id=<?= $task['project_id'] ?>"><?= t('Back to the board') ?></a></li> + </ul> + </div> + <section class="task-show"> + + <?= Helper\template('task_sidebar', array('task' => $task)) ?> + + <div class="task-show-main"> + <?= $task_content_for_layout ?> + </div> + </section> +</section>
\ No newline at end of file |
