summaryrefslogtreecommitdiff
path: root/app/Template/dashboard
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/dashboard
parentc08e22f927313f94f344c807876688cc192190d5 (diff)
Display project name in subtask list task title - fixes #108
Diffstat (limited to 'app/Template/dashboard')
-rw-r--r--app/Template/dashboard/overview.php1
-rw-r--r--app/Template/dashboard/subtasks.php1
-rw-r--r--app/Template/dashboard/tasks.php1
3 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/dashboard/overview.php b/app/Template/dashboard/overview.php
index a352ce02..af3c6261 100644
--- a/app/Template/dashboard/overview.php
+++ b/app/Template/dashboard/overview.php
@@ -64,6 +64,7 @@
<?= $this->render('task_list/task_title', array(
'task' => $task,
'redirect' => 'dashboard',
+ 'is_subtask' => FALSE
)) ?>
<?= $this->render('task_list/task_details', array(
diff --git a/app/Template/dashboard/subtasks.php b/app/Template/dashboard/subtasks.php
index 96bb13cc..7a422786 100644
--- a/app/Template/dashboard/subtasks.php
+++ b/app/Template/dashboard/subtasks.php
@@ -35,6 +35,7 @@
<div class="table-list-row color-<?= $task['color_id'] ?>">
<?= $this->render('task_list/task_title', array(
'task' => $task,
+ 'is_subtask' => TRUE
)) ?>
<?= $this->render('task_list/task_subtasks', array(
diff --git a/app/Template/dashboard/tasks.php b/app/Template/dashboard/tasks.php
index 4392e40b..4aa4e127 100644
--- a/app/Template/dashboard/tasks.php
+++ b/app/Template/dashboard/tasks.php
@@ -14,6 +14,7 @@
<?= $this->render('task_list/task_title', array(
'task' => $task,
'redirect' => 'dashboard-tasks',
+ 'is_subtask' => FALSE
)) ?>
<?= $this->render('task_list/task_details', array(