summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/activity/task.php4
-rw-r--r--app/Template/subtask/show.php6
-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
-rw-r--r--app/Template/task_external_link/show.php4
-rw-r--r--app/Template/tasklink/show.php6
7 files changed, 31 insertions, 0 deletions
diff --git a/app/Template/activity/task.php b/app/Template/activity/task.php
index cc4aad03..04c64c63 100644
--- a/app/Template/activity/task.php
+++ b/app/Template/activity/task.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('Activity stream') ?></h2>
</div>
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>
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>
diff --git a/app/Template/task_external_link/show.php b/app/Template/task_external_link/show.php
index 7dce107e..0b9567ba 100644
--- a/app/Template/task_external_link/show.php
+++ b/app/Template/task_external_link/show.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('External links') ?></h2>
</div>
diff --git a/app/Template/tasklink/show.php b/app/Template/tasklink/show.php
index 8527a344..cd255877 100644
--- a/app/Template/tasklink/show.php
+++ b/app/Template/tasklink/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('Internal links') ?></h2>
</div>