summaryrefslogtreecommitdiff
path: root/app/Template/task/analytics.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task/analytics.php')
-rw-r--r--app/Template/task/analytics.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/task/analytics.php b/app/Template/task/analytics.php
index 306dd021..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>
@@ -18,7 +21,7 @@
</tr>
<?php foreach ($time_spent_columns as $column): ?>
<tr>
- <td><?= $this->e($column['title']) ?></td>
+ <td><?= $this->text->e($column['title']) ?></td>
<td><?= $this->dt->duration($column['time_spent']) ?></td>
</tr>
<?php endforeach ?>