diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-12-29 09:30:36 +0100 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-12-29 09:30:36 +0100 |
commit | ded63d21a84811c9e082c0fea0110a1b498265d6 (patch) | |
tree | 2d95b985ef8402ae899ced0307af4e8e3d47e431 /app/Template | |
parent | 9ff0abd8d683ab5a285fcf70e27d1bcd1cbc47df (diff) |
Send notifications on user mentions
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/notification/comment_user_mention.php | 7 | ||||
-rw-r--r-- | app/Template/notification/task_user_mention.php | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/app/Template/notification/comment_user_mention.php b/app/Template/notification/comment_user_mention.php new file mode 100644 index 00000000..59f5127e --- /dev/null +++ b/app/Template/notification/comment_user_mention.php @@ -0,0 +1,7 @@ +<h2><?= t('You were mentioned in a comment on the task #%d', $task['id']) ?></h2> + +<p><?= $this->e($task['title']) ?></p> + +<?= $this->text->markdown($comment['comment']) ?> + +<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?>
\ No newline at end of file diff --git a/app/Template/notification/task_user_mention.php b/app/Template/notification/task_user_mention.php new file mode 100644 index 00000000..40ddddca --- /dev/null +++ b/app/Template/notification/task_user_mention.php @@ -0,0 +1,7 @@ +<h2><?= t('You were mentioned in the task #%d', $task['id']) ?></h2> +<p><?= $this->e($task['title']) ?></p> + +<h2><?= t('Description') ?></h2> +<?= $this->text->markdown($task['description']) ?> + +<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?>
\ No newline at end of file |