diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-14 11:50:31 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-14 11:50:31 -0400 |
commit | 9b399951f430b26379a2bf8b13ace99290227e61 (patch) | |
tree | 4dd694985dc9f27782ad365d376dc5a37f1e987e /app/Template/notification/task_move_swimlane.php | |
parent | a785810f2d11ad14ab3497a51ca10a6780b758ad (diff) |
Improve activity stream/notification for task update events and add new notification for swimlane change
Diffstat (limited to 'app/Template/notification/task_move_swimlane.php')
-rw-r--r-- | app/Template/notification/task_move_swimlane.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/Template/notification/task_move_swimlane.php b/app/Template/notification/task_move_swimlane.php new file mode 100644 index 00000000..04de7cc6 --- /dev/null +++ b/app/Template/notification/task_move_swimlane.php @@ -0,0 +1,19 @@ +<h2><?= $this->e($task['title']) ?> (#<?= $task['id'] ?>)</h2> + +<ul> + <li> + <?php if ($task['swimlane_id'] == 0): ?> + <?= t('The task have been moved to the first swimlane') ?> + <?php else: ?> + <?= t('The task have been moved to another swimlane:') ?> + <strong><?= $this->e($task['swimlane_name']) ?></strong> + <?php endif ?> + </li> + <li> + <?= t('Column on the board:') ?> + <strong><?= $this->e($task['column_title']) ?></strong> + </li> + <li><?= t('Task position:').' '.$this->e($task['position']) ?></li> +</ul> + +<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?>
\ No newline at end of file |