blob: 3fc390388b7a2ce42889b442b3763d99f78eb4fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<div>
<?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?>
<?php if (isset($show_items_selection)): ?>
<input type="checkbox" data-list-item="selectable" name="tasks[]" value="<?= $task['id'] ?>">
<?php endif ?>
<?= $this->render('task/dropdown', array('task' => $task, 'redirect' => isset($redirect) ? $redirect : '')) ?>
<?php else: ?>
<strong><?= '#'.$task['id'] ?></strong>
<?php endif ?>
<span class="table-list-title <?= $task['is_active'] == 0 ? 'status-closed' : '' ?>">
<?= $this->url->link(($is_subtask ? $task['project_name'] . ': ' : '') . $this->text->e($task['title']), 'TaskViewController', 'show', array('project_id' => $task['project_id'], 'task_id' => $task['id'])) ?>
</span>
</div>
|