summaryrefslogtreecommitdiff
path: root/app/Template/subtask
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-05 16:07:21 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-05 16:07:21 -0400
commitbb8b4c0e36afc05ff5b0cb3ac6465351a696b001 (patch)
treee7499d04cfe32ed429413c2bbe0c81c33700d36a /app/Template/subtask
parent67b9a56469b406b44cd1baad4445ddb6d707794f (diff)
Add task analytics
Diffstat (limited to 'app/Template/subtask')
-rw-r--r--app/Template/subtask/show.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/subtask/show.php b/app/Template/subtask/show.php
index b91e830f..cc82a74e 100644
--- a/app/Template/subtask/show.php
+++ b/app/Template/subtask/show.php
@@ -48,7 +48,7 @@
<?php if ($subtask['is_timer_started']): ?>
<i class="fa fa-pause"></i>
<?= $this->url->link(t('Stop timer'), 'timer', 'subtask', array('timer' => 'stop', 'project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id'])) ?>
- (<?= $this->datetime->age($subtask['timer_start_date']) ?>)
+ (<?= $this->dt->age($subtask['timer_start_date']) ?>)
<?php else: ?>
<i class="fa fa-play-circle-o"></i>
<?= $this->url->link(t('Start timer'), 'timer', 'subtask', array('timer' => 'start', 'project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id'])) ?>