From 3bfd7f2ef080235915ce27a494cef1b8f772bc05 Mon Sep 17 00:00:00 2001 From: "Dzial Techniczny WMW Projekt s.c" Date: Tue, 10 Dec 2019 16:55:54 +0100 Subject: Compact comment list view on board task icon hover --- app/Template/board/task_footer.php | 12 +++++------- app/Template/comment_list/show.php | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'app/Template') diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php index 6da25298..3ca2939f 100644 --- a/app/Template/board/task_footer.php +++ b/app/Template/board/task_footer.php @@ -110,13 +110,11 @@   - 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']) + app->tooltipLink( + '' . $task['nb_comments'], + $this->url->href( + 'CommentListController', 'show', + array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'compact' => 1)) ) ?> diff --git a/app/Template/comment_list/show.php b/app/Template/comment_list/show.php index 4b6b765d..bac77b5b 100644 --- a/app/Template/comment_list/show.php +++ b/app/Template/comment_list/show.php @@ -1,6 +1,6 @@