Add the possibility to remove a task

This commit is contained in:
Frédéric Guillot
2014-05-17 18:26:17 -04:00
parent 4d677b720e
commit f9c24f3c2c
13 changed files with 219 additions and 146 deletions

16
templates/task_layout.php Normal file
View File

@@ -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">
<?= Helper\template('task_sidebar', array('task' => $task)) ?>
<div class="task-show-main">
<?= $task_content_for_layout ?>
</div>
</section>
</section>