diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-05-22 12:28:28 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-22 12:28:28 -0400 |
commit | 2230dd4e6b148346c0ec596b9e3e12996a762ed8 (patch) | |
tree | ef99ccde4f8b18592a3fb06a6ec45162c501fe38 /app/Templates/task_layout.php | |
parent | a750b8ab2a0cb715da6fd9025a7ec8375db68a4d (diff) |
Code refactoring (add autoloader and change files organization)
Diffstat (limited to 'app/Templates/task_layout.php')
-rw-r--r-- | app/Templates/task_layout.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Templates/task_layout.php b/app/Templates/task_layout.php new file mode 100644 index 00000000..9a6bbd00 --- /dev/null +++ b/app/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 |