summaryrefslogtreecommitdiff
path: root/app/Template/task_list
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_list')
-rw-r--r--app/Template/task_list/listing.php1
-rw-r--r--app/Template/task_list/task_title.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/Template/task_list/listing.php b/app/Template/task_list/listing.php
index 595a190b..8394ea2e 100644
--- a/app/Template/task_list/listing.php
+++ b/app/Template/task_list/listing.php
@@ -16,6 +16,7 @@
'task' => $task,
'show_items_selection' => true,
'redirect' => 'list',
+ 'is_subtask' => FALSE
)) ?>
<?= $this->render('task_list/task_details', array(
diff --git a/app/Template/task_list/task_title.php b/app/Template/task_list/task_title.php
index 662ce1e5..3fc39038 100644
--- a/app/Template/task_list/task_title.php
+++ b/app/Template/task_list/task_title.php
@@ -9,6 +9,6 @@
<?php endif ?>
<span class="table-list-title <?= $task['is_active'] == 0 ? 'status-closed' : '' ?>">
- <?= $this->url->link($this->text->e($task['title']), 'TaskViewController', 'show', array('project_id' => $task['project_id'], 'task_id' => $task['id'])) ?>
+ <?= $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>