summaryrefslogtreecommitdiff
path: root/app/Template/notification
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/notification')
-rw-r--r--app/Template/notification/subtask_update.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Template/notification/subtask_update.php b/app/Template/notification/subtask_update.php
index a6c4e9cc..a6956792 100644
--- a/app/Template/notification/subtask_update.php
+++ b/app/Template/notification/subtask_update.php
@@ -10,10 +10,11 @@
<li>
<?= t('Time tracking:') ?>
<?php if (! empty($subtask['time_spent'])): ?>
- <strong><?= $this->text->e($subtask['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($subtask['time_estimated'])): ?>
- <strong><?= $this->text->e($subtask['time_estimated']).'h' ?></strong> <?= t('estimated') ?>
+ <?= t('%sh estimated', n($subtask['time_estimated'])) ?>
<?php endif ?>
</li>
<?php endif ?>