From 2c4509641103fa94a31c89e0e9f1a2d6088e57b1 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 11 Feb 2017 17:32:58 -0500 Subject: Do not display comment icon link in public view --- app/Template/board/task_footer.php | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'app/Template/board/task_footer.php') diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php index 4e561f14..74c1b74d 100644 --- a/app/Template/board/task_footer.php +++ b/app/Template/board/task_footer.php @@ -96,14 +96,18 @@ 0): ?> - modal->medium( - 'comments-o', - $task['nb_comments'], - 'CommentListController', - 'show', - array('task_id' => $task['id'], 'project_id' => $task['project_id']), - $task['nb_comments'] == 1 ? t('%d comment', $task['nb_comments']) : t('%d comments', $task['nb_comments']) - ) ?> + +   + + modal->medium( + 'comments-o', + $task['nb_comments'], + 'CommentListController', + 'show', + array('task_id' => $task['id'], 'project_id' => $task['project_id']), + $task['nb_comments'] == 1 ? t('%d comment', $task['nb_comments']) : t('%d comments', $task['nb_comments']) + ) ?> + -- cgit v1.2.3