summaryrefslogtreecommitdiff
path: root/app/Template/notification/subtask_create.php
diff options
context:
space:
mode:
authorkent1 <kent1@arscenic.info>2018-04-16 11:57:46 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-04-16 11:57:46 -0700
commitb03357aef341ad55fe28b487131ff4acc851f554 (patch)
tree195fd449b02c4c15dc6fdeafb5e126e8929a2ec6 /app/Template/notification/subtask_create.php
parent0e5e3b30fd3a8ac0d9606d2a91777fcd587e3157 (diff)
Improve notifications
- Translate subtask status - Translate internal link labels - Add link to tasks and projects in overdue notifications
Diffstat (limited to 'app/Template/notification/subtask_create.php')
-rw-r--r--app/Template/notification/subtask_create.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/notification/subtask_create.php b/app/Template/notification/subtask_create.php
index 23df3666..17271724 100644
--- a/app/Template/notification/subtask_create.php
+++ b/app/Template/notification/subtask_create.php
@@ -4,14 +4,14 @@
<ul>
<li><?= t('Title:') ?> <?= $this->text->e($subtask['title']) ?></li>
- <li><?= t('Status:') ?> <?= $this->text->e($subtask['status_name']) ?></li>
+ <li><?= t('Status:') ?> <?= t($subtask['status_name']) ?></li>
<li><?= t('Assignee:') ?> <?= $this->text->e($subtask['name'] ?: $subtask['username'] ?: '?') ?></li>
- <li>
- <?= t('Time tracking:') ?>
- <?php if (! empty($subtask['time_estimated'])): ?>
+ <?php if (! empty($subtask['time_estimated'])): ?>
+ <li>
+ <?= t('Time tracking:') ?>
<strong><?= $this->text->e($subtask['time_estimated']).'h' ?></strong> <?= t('estimated') ?>
- <?php endif ?>
- </li>
+ </li>
+ <?php endif ?>
</ul>
<?= $this->render('notification/footer', array('task' => $task)) ?> \ No newline at end of file