summaryrefslogtreecommitdiff
path: root/app/Template/task_internal_link/table.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_internal_link/table.php')
-rw-r--r--app/Template/task_internal_link/table.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/task_internal_link/table.php b/app/Template/task_internal_link/table.php
index 9ef20645..6a11be60 100644
--- a/app/Template/task_internal_link/table.php
+++ b/app/Template/task_internal_link/table.php
@@ -64,11 +64,11 @@
</td>
<td>
<?php if (! empty($link['task_time_spent'])): ?>
- <strong><?= $this->text->e($link['task_time_spent']).'h' ?></strong> <?= t('spent') ?>
+ <?= t('%sh spent', n($subtask['time_spent'])) ?>
<?php endif ?>
-
+ <?php if (! empty($subtask['time_spent']) && ! empty($subtask['time_estimated'])): ?>/<?php endif ?>
<?php if (! empty($link['task_time_estimated'])): ?>
- <strong><?= $this->text->e($link['task_time_estimated']).'h' ?></strong> <?= t('estimated') ?>
+ <?= t('%sh estimated', n($subtask['time_estimated'])) ?>
<?php endif ?>
</td>
</tr>