summaryrefslogtreecommitdiff
path: root/app/Template/board/task_footer.php
diff options
context:
space:
mode:
authorDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2019-12-10 16:55:54 +0100
committerDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2019-12-10 16:55:54 +0100
commit3bfd7f2ef080235915ce27a494cef1b8f772bc05 (patch)
treede173dc829d81f03a7c0d3c86fd418ca5605c8eb /app/Template/board/task_footer.php
parentf5ff8e388e92f2b834adfcefca2744b9808b4eac (diff)
Compact comment list view on board task icon hover
Diffstat (limited to 'app/Template/board/task_footer.php')
-rw-r--r--app/Template/board/task_footer.php12
1 files changed, 5 insertions, 7 deletions
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 @@
<?php if ($not_editable): ?>
<span title="<?= $task['nb_comments'] == 1 ? t('%d comment', $task['nb_comments']) : t('%d comments', $task['nb_comments']) ?>"><i class="fa fa-comments-o"></i>&nbsp;<?= $task['nb_comments'] ?></span>
<?php else: ?>
- <?= $this->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'])
+ <?= $this->app->tooltipLink(
+ '<i class="fa fa-comments-o"></i>' . $task['nb_comments'],
+ $this->url->href(
+ 'CommentListController', 'show',
+ array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'compact' => 1))
) ?>
<?php endif ?>
<?php endif ?>