summaryrefslogtreecommitdiff
path: root/app/Templates/task_layout.php
blob: cc711b78fe8474a361891eadd0b95b619934851a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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>

<?= Helper\js('assets/js/task.js') ?>