summaryrefslogtreecommitdiff
path: root/app/Template/task/show.php
blob: 5dc27ca1d34a2d418a68c0e13bf6bfe7d50fff17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?= $this->hook->render('template:task:show:top', array('task' => $task, 'project' => $project)) ?>

<?= $this->render('task/details', array(
    'task' => $task,
    'project' => $project,
    'editable' => $this->user->hasProjectAccess('taskmodification', 'edit', $project['id']),
)) ?>

<?= $this->hook->render('template:task:show:before-description', array('task' => $task, 'project' => $project)) ?>

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

<?= $this->hook->render('template:task:show:before-subtasks', array('task' => $task, 'project' => $project)) ?>

<?= $this->render('subtask/show', array(
    'task' => $task,
    'subtasks' => $subtasks,
    'project' => $project,
    'users_list' => isset($users_list) ? $users_list : array(),
    'editable' => true,
)) ?>

<?= $this->hook->render('template:task:show:before-tasklinks', array('task' => $task, 'project' => $project)) ?>

<?= $this->render('tasklink/show', array(
    'task' => $task,
    'links' => $links,
    'project' => $project,
    'link_label_list' => $link_label_list,
    'editable' => true,
    'is_public' => false,
)) ?>

<?= $this->hook->render('template:task:show:before-timetracking', array('task' => $task, 'project' => $project)) ?>

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

<?= $this->hook->render('template:task:show:before-attachements', array('task' => $task, 'project' => $project)) ?>

<?= $this->render('task_file/show', array(
    'task' => $task,
    'files' => $files,
    'images' => $images
)) ?>

<?= $this->hook->render('template:task:show:before-comments', array('task' => $task, 'project' => $project)) ?>

<?= $this->render('task/comments', array(
    'task' => $task,
    'comments' => $comments,
    'project' => $project,
    'editable' => $this->user->hasProjectAccess('comment', 'edit', $project['id']),
)) ?>

<?= $this->hook->render('template:task:show:bottom', array('task' => $task, 'project' => $project)) ?>