summaryrefslogtreecommitdiff
path: root/app/Template/task/layout.php
blob: 7f6c29139606404573923fceabbb3ef174ac87dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<section id="main">
    <?= $this->projectHeader->render($project, 'TaskListController', 'show') ?>
    <?= $this->hook->render('template:task:layout:top', array('task' => $task)) ?>
    <section
        class="sidebar-container" id="task-view"
        data-edit-url="<?= $this->url->href('TaskModificationController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
        data-subtask-url="<?= $this->url->href('SubtaskController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
        data-internal-link-url="<?= $this->url->href('TaskInternalLinkController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
        data-comment-url="<?= $this->url->href('CommentController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>">

        <?= $this->render($sidebar_template, array('task' => $task)) ?>

        <div class="sidebar-content">
            <?= $content_for_sublayout ?>
        </div>
    </section>
</section>