summaryrefslogtreecommitdiff
path: root/app/Template/subtask
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/subtask
parentd4eea1e252771e5f764c7654c7b9fc1b86b2ce9d (diff)
Always display project name and task title in task views
Diffstat (limited to 'app/Template/subtask')
-rw-r--r--app/Template/subtask/show.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Template/subtask/show.php b/app/Template/subtask/show.php
index 999016c3..2eda357b 100644
--- a/app/Template/subtask/show.php
+++ b/app/Template/subtask/show.php
@@ -1,3 +1,9 @@
+<?php if (isset($show_title)): ?>
+<div class="task-show-title color-<?= $task['color_id'] ?>">
+ <h2><?= $this->text->e($task['title']) ?></h2>
+</div>
+<?php endif ?>
+
<div class="page-header">
<h2><?= t('Sub-Tasks') ?></h2>
</div>