Improve notifications
- Translate subtask status - Translate internal link labels - Add link to tasks and projects in overdue notifications
This commit is contained in:
@@ -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)) ?>
|
||||
Reference in New Issue
Block a user