summaryrefslogtreecommitdiff
path: root/app/Template/task/show.php
blob: 246c8f3378950010f01553d3f47a768369b83462 (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
<?= $this->render('task/details', array(
    'task' => $task,
    'project' => $project,
    'recurrence_trigger_list' => $this->task->recurrenceTriggers(),
    'recurrence_timeframe_list' => $this->task->recurrenceTimeframes(),
    'recurrence_basedate_list' => $this->task->recurrenceBasedates(),
    'editable' => $this->user->hasProjectAccess('taskmodification', 'edit', $project['id']),
)) ?>

<?php if ($this->user->hasProjectAccess('taskmodification', 'edit', $project['id'])): ?>
    <?= $this->render('task_modification/edit_time', array('task' => $task, 'values' => $values, 'date_format' => $date_format, 'date_formats' => $date_formats)) ?>
<?php endif ?>

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

<?= $this->render('subtask/show', array(
    'task' => $task,
    'subtasks' => $subtasks,
    'project' => $project,
    'users_list' => isset($users_list) ? $users_list : array(),
    'editable' => $this->user->hasProjectAccess('subtask', 'edit', $project['id']),
    'redirect' => 'task',
)) ?>

<?= $this->render('tasklink/show', array(
    'task' => $task,
    'links' => $links,
    'link_label_list' => $link_label_list,
    'editable' => $this->user->hasProjectAccess('tasklink', 'edit', $project['id']),
    'is_public' => false,
)) ?>

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

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

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