summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-08 22:02:42 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-08 22:02:42 -0500
commitf91f3214c12e315afd8984653ea2d9db8408793d (patch)
tree45de211e61189da032f1646f67c4de2a566558dc /app/Template/task
parentd4eea1e252771e5f764c7654c7b9fc1b86b2ce9d (diff)
Always display project name and task title in task views
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/analytics.php3
-rw-r--r--app/Template/task/time_tracking_details.php4
-rw-r--r--app/Template/task/transitions.php4
3 files changed, 11 insertions, 0 deletions
diff --git a/app/Template/task/analytics.php b/app/Template/task/analytics.php
index 2f2c23a1..54eac2b7 100644
--- a/app/Template/task/analytics.php
+++ b/app/Template/task/analytics.php
@@ -1,3 +1,6 @@
+<div class="task-show-title color-<?= $task['color_id'] ?>">
+ <h2><?= $this->text->e($task['title']) ?></h2>
+</div>
<div class="page-header">
<h2><?= t('Analytics') ?></h2>
</div>
diff --git a/app/Template/task/time_tracking_details.php b/app/Template/task/time_tracking_details.php
index e2b599a5..c51b8f5a 100644
--- a/app/Template/task/time_tracking_details.php
+++ b/app/Template/task/time_tracking_details.php
@@ -1,3 +1,7 @@
+<div class="task-show-title color-<?= $task['color_id'] ?>">
+ <h2><?= $this->text->e($task['title']) ?></h2>
+</div>
+
<?= $this->render('task/time_tracking_summary', array('task' => $task)) ?>
<h3><?= t('Subtask timesheet') ?></h3>
diff --git a/app/Template/task/transitions.php b/app/Template/task/transitions.php
index 57f1e0ff..83040177 100644
--- a/app/Template/task/transitions.php
+++ b/app/Template/task/transitions.php
@@ -1,3 +1,7 @@
+<div class="task-show-title color-<?= $task['color_id'] ?>">
+ <h2><?= $this->text->e($task['title']) ?></h2>
+</div>
+
<div class="page-header">
<h2><?= t('Transitions') ?></h2>
</div>