summaryrefslogtreecommitdiff
path: root/app/Template/task_list/task_title.php
diff options
context:
space:
mode:
authorDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2020-04-08 10:27:04 +0200
committerDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2020-04-08 10:28:28 +0200
commiteca069dbd1318274b4170eb78629b0128dd0543c (patch)
tree40dd9bd19122c8cd16536dc6a633f2ad70e51ad7 /app/Template/task_list/task_title.php
parentc08e22f927313f94f344c807876688cc192190d5 (diff)
Display project name in subtask list task title - fixes #108
Diffstat (limited to 'app/Template/task_list/task_title.php')
-rw-r--r--app/Template/task_list/task_title.php2
1 files changed, 1 insertions, 1 deletions
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>