Improve notifications

- Translate subtask status
- Translate internal link labels
- Add link to tasks and projects in overdue notifications
This commit is contained in:
kent1
2018-04-16 11:57:46 -07:00
committed by Frédéric Guillot
parent 0e5e3b30fd
commit b03357aef3
7 changed files with 24 additions and 15 deletions

View File

@@ -2,6 +2,8 @@
Kanboard
<?php if ($this->app->config('application_url') != ''): ?>
- <?= $this->url->absoluteLink(t('view the task on Kanboard'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
<?php if (isset($task['id'])): ?>
- <?= $this->url->absoluteLink(t('view the task on Kanboard'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
<?php endif ?>
- <?= $this->url->absoluteLink(t('view the board on Kanboard'), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?>
<?php endif ?>