Display a link to the task for email notifications
This commit is contained in:
@@ -4,5 +4,4 @@
|
||||
|
||||
<?= Helper\parse($comment['comment']) ?>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
@@ -4,5 +4,4 @@
|
||||
|
||||
<?= Helper\parse($comment['comment']) ?>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
@@ -2,5 +2,4 @@
|
||||
|
||||
<h3><?= t('New attachment added "%s"', $file['name']) ?></h3>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
6
app/Templates/notification_footer.php
Normal file
6
app/Templates/notification_footer.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<hr/>
|
||||
Kanboard
|
||||
|
||||
<?php if (defined('KANBOARD_URL')): ?>
|
||||
- <a href="<?= KANBOARD_URL.'?controller=task&action=show&task_id='.$task['id'] ?>"><?= t('view the task on Kanboard') ?></a>.
|
||||
<?php endif ?>
|
||||
@@ -14,5 +14,4 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
@@ -18,5 +18,4 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
@@ -2,5 +2,4 @@
|
||||
|
||||
<p><?= t('The task #%d have been closed.', $task['id']) ?></p>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
@@ -40,5 +40,4 @@
|
||||
<?= Helper\parse($task['description']) ?>
|
||||
<?php endif ?>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
@@ -6,5 +6,4 @@
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
@@ -2,5 +2,4 @@
|
||||
|
||||
<p><?= t('The task #%d have been opened.', $task['id']) ?></p>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
@@ -40,5 +40,4 @@
|
||||
<?= Helper\parse($task['description']) ?: t('There is no description.') ?>
|
||||
<?php endif ?>
|
||||
|
||||
<hr/>
|
||||
<p>Kanboard</p>
|
||||
<?= Helper\template('notification_footer', array('task' => $task)) ?>
|
||||
Reference in New Issue
Block a user