From 093905c895d449eaf08652d6597865008b119840 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 21 Aug 2016 13:45:06 -0400 Subject: Show project name in notifications --- ChangeLog | 1 + app/Template/dashboard/notifications.php | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a559b4ff..7d61f957 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ New features: Improvements: +* Show project name in notifications * Allow priority changes for inverted priority scales * Add the possibility to attach template hooks with local variables and callback * Add "reference" hooks diff --git a/app/Template/dashboard/notifications.php b/app/Template/dashboard/notifications.php index a189d74f..4fb59e24 100644 --- a/app/Template/dashboard/notifications.php +++ b/app/Template/dashboard/notifications.php @@ -15,12 +15,26 @@ + - + +
+ + url->link( + $this->text->e($notification['event_data']['task']['project_name']), + 'BoardViewController', + 'show', + array('project_id' => $notification['event_data']['task']['project_id']) + ) + ?> + + text->e($notification['event_data']['project_name']) ?> + + text->contains($notification['event_name'], 'subtask')): ?> -- cgit v1.2.3