Avoid passing application_url argument to all notification templates

This commit is contained in:
Frederic Guillot
2017-02-19 12:14:54 -05:00
parent 778c9d8212
commit dc7c7667ec
24 changed files with 23 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
<hr/>
Kanboard
<?php if (isset($application_url) && ! empty($application_url)): ?>
<?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'])) ?>
- <?= $this->url->absoluteLink(t('view the board on Kanboard'), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?>
<?php endif ?>